Don't forget to free typename
authorTerry Wilson <twilson@digium.com>
Wed, 31 Dec 2008 22:53:55 +0000 (22:53 +0000)
committerTerry Wilson <twilson@digium.com>
Wed, 31 Dec 2008 22:53:55 +0000 (22:53 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@167057 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/xmldoc.c

index 1cd3a09..230b8a4 100644 (file)
@@ -1378,6 +1378,7 @@ char *ast_xmldoc_build_seealso(const char *type, const char *name)
                }
                first = 0;
                ast_xml_free_text(content);
+               ast_xml_free_attr(typename);
        }
 
        output = ast_strdup(ast_str_buffer(outputstr));