]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Free the node element
authorMathieu Rene <mrene@avgs.ca>
Wed, 1 Apr 2009 18:41:46 +0000 (18:41 +0000)
committerMathieu Rene <mrene@avgs.ca>
Wed, 1 Apr 2009 18:41:46 +0000 (18:41 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12868 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_skel/mod_skel.c

index e6ca9d91819e9d569176a64f1d0fe96114b42d5d..22e4fc2030c9d1861b370f67cffe5b67089922fa 100644 (file)
@@ -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;