diff options
author | 2009-11-12 15:29:24 +0000 | |
---|---|---|
committer | 2009-11-12 15:29:24 +0000 | |
commit | 60db60545cf26f640448b59e4679c2a56e6da0b7 (patch) | |
tree | e5d3a50ad872df73d7b96640131e6190062ccae2 | |
parent | accessses 1 entry too far, found by parfait, ok jsg claudio (diff) | |
download | wireguard-openbsd-60db60545cf26f640448b59e4679c2a56e6da0b7.tar.xz wireguard-openbsd-60db60545cf26f640448b59e4679c2a56e6da0b7.zip |
memory leak found by parfait; ok jsg
-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"); } |