libgeom: plug memory leak in EndElement.

CID:		1016696
Found by:	Clang static checker
MFC after:	1 week
This commit is contained in:
Pedro F. Giffuni 2015-04-22 22:23:56 +00:00
parent ad6f36f845
commit e54379826c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=281875

View File

@ -257,6 +257,7 @@ EndElement(void *userData, const char *name)
if (!strcmp(name, "config")) {
mt->config = NULL;
free(p);
return;
}