crunch: Sync some NetBSD changes

Fix a couple of free's in previous commit.

Obtained from:	NetBSD
MFC after:	1 week
This commit is contained in:
Pedro F. Giffuni 2013-02-03 01:54:25 +00:00
parent ae6aefaf57
commit bf861ada38
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=246278

View File

@ -384,6 +384,8 @@ ELFNAMEEND(hide)(int fd, const char *fn)
if (symtabp != NULL)
free(symtabp);
if (strtabp != NULL)
free(strtabp);
if (nstrtabp != NULL)
free(nstrtabp);
return (rv);