From bc46e895ffcece6fd546e2ed0676e4e13d0747fd Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Sat, 24 Mar 2012 15:39:55 +0000 Subject: fix some leaks ok miod@ --- sbin/scsi/scsi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sbin/scsi') 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; -- cgit v1.2.3