diff --git a/src/mod/codecs/mod_amrwb/mod_amrwb.c b/src/mod/codecs/mod_amrwb/mod_amrwb.c index a2f8a2f604..b3690520d2 100644 --- a/src/mod/codecs/mod_amrwb/mod_amrwb.c +++ b/src/mod/codecs/mod_amrwb/mod_amrwb.c @@ -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 */