From: Mathieu Rene Date: Wed, 1 Apr 2009 18:41:46 +0000 (+0000) Subject: Free the node element X-Git-Tag: v1.0.4~1311 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76383f06ef7e899445b387f1e4f345b21fab315b;p=thirdparty%2Ffreeswitch.git Free the node element git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12868 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_skel/mod_skel.c b/src/mod/applications/mod_skel/mod_skel.c index e6ca9d9181..22e4fc2030 100644 --- a/src/mod/applications/mod_skel/mod_skel.c +++ b/src/mod/applications/mod_skel/mod_skel.c @@ -112,8 +112,8 @@ static switch_status_t do_config(switch_bool_t reload) } } - if (cfg) { - switch_xml_free(cfg); + if (xml) { + switch_xml_free(xml); } return SWITCH_STATUS_SUCCESS;