Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/nvi/dist/ipc CID 1132772: Fix memory leak
details: https://anonhg.NetBSD.org/src/rev/f9545cd3f11f
branches: trunk
changeset: 791656:f9545cd3f11f
user: christos <christos%NetBSD.org@localhost>
date: Wed Nov 27 18:06:28 2013 +0000
description:
CID 1132772: Fix memory leak
diffstat:
external/bsd/nvi/dist/ipc/ip_run.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r c330665440e9 -r f9545cd3f11f external/bsd/nvi/dist/ipc/ip_run.c
--- a/external/bsd/nvi/dist/ipc/ip_run.c Wed Nov 27 18:01:33 2013 +0000
+++ b/external/bsd/nvi/dist/ipc/ip_run.c Wed Nov 27 18:06:28 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_run.c,v 1.5 2013/11/27 17:58:59 christos Exp $ */
+/* $NetBSD: ip_run.c,v 1.6 2013/11/27 18:06:28 christos Exp $ */
/*-
* Copyright (c) 1996
* Rob Zimmermann. All rights reserved.
@@ -162,6 +162,8 @@
(void)close(wpipe[0]);
break;
}
+ free(argv[1]);
+ free(argv);
return (0);
}
Home |
Main Index |
Thread Index |
Old Index