]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
xml_free in the proper location if invalid data is given to group_call
authorBrian West <brian@freeswitch.org>
Mon, 9 Feb 2009 16:18:21 +0000 (16:18 +0000)
committerBrian West <brian@freeswitch.org>
Mon, 9 Feb 2009 16:18:21 +0000 (16:18 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11704 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_commands/mod_commands.c

index 67a1b1bc9660f49aa37cc00200a4b3f43768741e..ff0b78c8cfe08ff906d5371e429c9a96078ec36a 100644 (file)
@@ -248,8 +248,8 @@ SWITCH_STANDARD_API(group_call_function)
                                }
                                
                        }
-                       switch_xml_free(xml);
                }
+               switch_xml_free(xml);
                switch_event_destroy(&params);
        }