mirror of
https://gitea.psi.ch/ELOG/mxml.git
synced 2026-09-09 01:23:22 +00:00
Fixed memory leak
This commit is contained in:
parent
6eb60b1f25
commit
75ebe0caee
1
mxml.c
1
mxml.c
@ -1993,6 +1993,7 @@ error:
|
|||||||
for (ip = 0; ip < MXML_MAX_ENTITY; ip++)
|
for (ip = 0; ip < MXML_MAX_ENTITY; ip++)
|
||||||
if (entity_value[ip] != NULL)
|
if (entity_value[ip] != NULL)
|
||||||
mxml_free(entity_value[ip]);
|
mxml_free(entity_value[ip]);
|
||||||
|
mxml_free_tree(root);
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user