aboutsummaryrefslogtreecommitdiff
path: root/src/libmach
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-18 20:49:25 +0000
committerrsc <devnull@localhost>2005-01-18 20:49:25 +0000
commit1c8159def559fc9bcf5070d90901c84f996ab59a (patch)
tree47d3ae9b10d20bc7628d85f841e5cc8b1aef36d6 /src/libmach
parent1bdf1708647ffabfa2542a02fd14a0c855067d91 (diff)
downloadplan9port-1c8159def559fc9bcf5070d90901c84f996ab59a.tar.gz
plan9port-1c8159def559fc9bcf5070d90901c84f996ab59a.tar.bz2
plan9port-1c8159def559fc9bcf5070d90901c84f996ab59a.zip
free hdr->cmd
Diffstat (limited to 'src/libmach')
-rw-r--r--src/libmach/crack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libmach/crack.c b/src/libmach/crack.c
index 3dfe254b..ffc3b06c 100644
--- a/src/libmach/crack.c
+++ b/src/libmach/crack.c
@@ -52,6 +52,7 @@ uncrackhdr(Fhdr *hdr)
{
close(hdr->fd);
_delhdr(hdr);
+ free(hdr->cmd);
free(hdr);
}