modules/codec/cmml/xtag.c:263: Memory leak: ret
In file modules/codec/cmml/xtag.c:263: Variable ret leaks 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;
return ret;