modules/misc/xml/xtag.c:510: Memory leak: ret
In file modules/misc/xml/xtag.c:510: Variable ret seems to be leaking memory if NULL is returned.
ret = malloc( xi+1 );
strncpy( ret, s, xi );
ret[xi] = '\0';
parser->start = &s[xi];
if( !xtag_assert_and_pass( parser, quote ) ) return NULL;
This bug was found using cppcheck: http://cppcheck.wiki.sourceforge.net/