Merge pull request #484 from dragos-oancea/mod_amrwb-fixleak-xml
[mod_amrwb] fix memory leak at load time (xml)
This commit is contained in:
commit
06f905de9d
|
@ -551,6 +551,10 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_amrwb_load)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (xml) {
|
||||
switch_xml_free(xml);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* connect my internal structure to the blank pointer passed to me */
|
||||
|
|
Loading…
Reference in New Issue