Fix incorrect free(). Fixes ticket #183
This commit is contained in:
parent
7b626dfeac
commit
a1202d7e60
1 changed files with 1 additions and 1 deletions
|
@ -854,7 +854,7 @@ htsmsg_xml_deserialize(char *src, char *errbuf, size_t errbufsize)
|
|||
return m;
|
||||
|
||||
err:
|
||||
free(src);
|
||||
free(src0);
|
||||
snprintf(errbuf, errbufsize, "%s", xp.xp_errmsg);
|
||||
|
||||
/* Remove any odd chars inside of errmsg */
|
||||
|
|
Loading…
Add table
Reference in a new issue