diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-05-29 12:35:55 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-05-29 12:35:55 +0000 |
commit | 7dc7c6f5b807b62760b34b1745e58d8c6204032b (patch) | |
tree | 89450382f9889741792a5839bd49b4ba59ac532b | |
parent | 43ec40ef0541b5bc8549fdbb4efe69e8a9d33e74 (diff) |
memory leak; andrushock@korovino.net
-rw-r--r-- | sbin/ccdconfig/ccdconfig.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/ccdconfig/ccdconfig.c b/sbin/ccdconfig/ccdconfig.c index 675d86476db..a09c1c48cff 100644 --- a/sbin/ccdconfig/ccdconfig.c +++ b/sbin/ccdconfig/ccdconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ccdconfig.c,v 1.20 2003/12/17 01:41:45 millert Exp $ */ +/* $OpenBSD: ccdconfig.c,v 1.21 2004/05/29 12:35:54 deraadt Exp $ */ /* $NetBSD: ccdconfig.c,v 1.6 1996/05/16 07:11:18 thorpej Exp $ */ /*- @@ -278,6 +278,7 @@ do_single(int argc, char *argv[], int action) disks[i++] = cp; else { warnx("%s: %s", cp, strerror(j)); + free(disks); return (1); } } |