[mod_amrwb] fix memory leak at load time (xml)

This commit is contained in:
Dragos Oancea 2020-03-06 15:08:29 +00:00
parent 90a7fc7125
commit e2e6d13cd8

View File

@ -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 */