diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-11-12 15:29:25 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-11-12 15:29:25 +0000 |
commit | 2ab27f45369e8700e139d48477abe7d9faa3de03 (patch) | |
tree | 9413b8e07e192ecadf1b9c22c50557474f9a8975 /sbin | |
parent | a0a2befd126e6cff01ce26d5bbf2307fc2cee5de (diff) |
memory leak found by parfait; ok jsg
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/raidctl/raidctl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/raidctl/raidctl.c b/sbin/raidctl/raidctl.c index 6da8bb4b49b..7f8c492e0a1 100644 --- a/sbin/raidctl/raidctl.c +++ b/sbin/raidctl/raidctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: raidctl.c,v 1.29 2008/06/26 05:42:06 ray Exp $ */ +/* $OpenBSD: raidctl.c,v 1.30 2009/11/12 15:29:24 deraadt Exp $ */ /* $NetBSD: raidctl.c,v 1.27 2001/07/10 01:30:52 lukem Exp $ */ /*- @@ -1054,6 +1054,7 @@ do_meter(fdidpair *fds, int nfd, u_long option) if (gettimeofday(¤t_time, NULL)) err(1, "gettimeofday"); } + free(progressInfo); printf("\n"); } |