diff --git a/src/mod/codecs/mod_amr/mod_amr.c b/src/mod/codecs/mod_amr/mod_amr.c index 67426b81c8..56294e2a5e 100644 --- a/src/mod/codecs/mod_amr/mod_amr.c +++ b/src/mod/codecs/mod_amr/mod_amr.c @@ -633,6 +633,10 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_amr_load) } } } + + if (xml) { + switch_xml_free(xml); + } #endif /* connect my internal structure to the blank pointer passed to me */