diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2012-03-24 15:39:55 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2012-03-24 15:39:55 +0000 |
commit | bc46e895ffcece6fd546e2ed0676e4e13d0747fd (patch) | |
tree | cff5470ac52245eed20e6860469dafdf70896982 /sbin/scsi | |
parent | adc661ee065c9e1029f2dccbadf8d92a3f26f65f (diff) |
fix some leaks
ok miod@
Diffstat (limited to 'sbin/scsi')
-rw-r--r-- | sbin/scsi/scsi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/scsi/scsi.c b/sbin/scsi/scsi.c index 9c2bba0e106..0299c723945 100644 --- a/sbin/scsi/scsi.c +++ b/sbin/scsi/scsi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scsi.c,v 1.25 2007/10/18 00:30:32 ray Exp $ */ +/* $OpenBSD: scsi.c,v 1.26 2012/03/24 15:39:54 jsg Exp $ */ /* $FreeBSD: scsi.c,v 1.11 1996/04/06 11:00:28 joerg Exp $ */ /* @@ -235,6 +235,7 @@ void arg_put(void *hook, int letter, void *arg, int count, char *name) break; } printf("%s ", p); + free(p); } break; |