mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -257,6 +257,7 @@ EndElement(void *userData, const char *name)
|
|||
|
||||
if (!strcmp(name, "config")) {
|
||||
mt->config = NULL;
|
||||
free(p);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue