]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
tweak
authorBrian West <brian@freeswitch.org>
Sat, 11 Oct 2008 22:01:14 +0000 (22:01 +0000)
committerBrian West <brian@freeswitch.org>
Sat, 11 Oct 2008 22:01:14 +0000 (22:01 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9972 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_commands/mod_commands.c

index a4e1a26f40408b311466367c42e2acc4f74011ad..9d05bc0a1e8c2dbd6c7d6b46c93528b940d7656d 100644 (file)
@@ -264,8 +264,8 @@ SWITCH_STANDARD_API(domain_exists_function)
                } else {
                        stream->write_function(stream, "false");
                }
+               switch_xml_free(root); 
        }
-       switch_xml_free(root); 
        
        return SWITCH_STATUS_SUCCESS;
 }