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

View File

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