libgeom: plug memory leak in EndElement.
CID: 1016696 Found by: Clang static checker MFC after: 1 week
This commit is contained in:
parent
ad6f36f845
commit
e54379826c
@ -257,6 +257,7 @@ EndElement(void *userData, const char *name)
|
||||
|
||||
if (!strcmp(name, "config")) {
|
||||
mt->config = NULL;
|
||||
free(p);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user