diff options
author | pfg <pfg@FreeBSD.org> | 2013-02-03 01:54:25 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2013-02-03 01:54:25 +0000 |
commit | e1f3d4e1aa9f4cf116f0046597bb1fe1ee36951b (patch) | |
tree | bebefe31fd396097dcde00885615368f76943486 /usr.sbin/crunch/crunchide/exec_elf32.c | |
parent | c2bbbcc61a87cb2be75159e9e9cb8e2beac0295b (diff) | |
download | FreeBSD-src-e1f3d4e1aa9f4cf116f0046597bb1fe1ee36951b.zip FreeBSD-src-e1f3d4e1aa9f4cf116f0046597bb1fe1ee36951b.tar.gz |
crunch: Sync some NetBSD changes
Fix a couple of free's in previous commit.
Obtained from: NetBSD
MFC after: 1 week
Diffstat (limited to 'usr.sbin/crunch/crunchide/exec_elf32.c')
-rw-r--r-- | usr.sbin/crunch/crunchide/exec_elf32.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/crunch/crunchide/exec_elf32.c b/usr.sbin/crunch/crunchide/exec_elf32.c index c1a0477..9274f89 100644 --- a/usr.sbin/crunch/crunchide/exec_elf32.c +++ b/usr.sbin/crunch/crunchide/exec_elf32.c @@ -384,6 +384,8 @@ out: if (symtabp != NULL) free(symtabp); if (strtabp != NULL) + free(strtabp); + if (nstrtabp != NULL) free(nstrtabp); return (rv); |