mirror of
https://git.freebsd.org/src.git
synced 2026-01-16 23:02:24 +00: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=281875
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…
Add table
Reference in a new issue