Commit c37261d0 authored by Ronan's avatar Ronan Committed by Ronan

fix(lpconfig): destroy path in linphone_config_load_from_xml_file

parent 39941c63
......@@ -519,6 +519,7 @@ const char* linphone_config_load_from_xml_file(LinphoneConfig *lpc, const char *
if (path) {
context = xml2lpc_context_new(NULL, NULL);
error_msg = _linphone_config_xml_convert(lpc, context, xml2lpc_set_xml_file(context, path));
bctbx_free(path);
}
if (context) xml2lpc_context_destroy(context);
return error_msg;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment