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