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/ex CID 1132770: Fix memory leak
details: https://anonhg.NetBSD.org/src/rev/b5dede412d6a
branches: trunk
changeset: 791658:b5dede412d6a
user: christos <christos%NetBSD.org@localhost>
date: Wed Nov 27 18:09:06 2013 +0000
description:
CID 1132770: Fix memory leak
diffstat:
external/bsd/nvi/dist/ex/ex_tag.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r e1d9ca95a98d -r b5dede412d6a external/bsd/nvi/dist/ex/ex_tag.c
--- a/external/bsd/nvi/dist/ex/ex_tag.c Wed Nov 27 18:08:06 2013 +0000
+++ b/external/bsd/nvi/dist/ex/ex_tag.c Wed Nov 27 18:09:06 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ex_tag.c,v 1.4 2013/11/27 18:08:06 christos Exp $ */
+/* $NetBSD: ex_tag.c,v 1.5 2013/11/27 18:09:06 christos Exp $ */
/*-
* Copyright (c) 1992, 1993, 1994
* The Regents of the University of California. All rights reserved.
@@ -1130,6 +1130,7 @@
return (tqp);
alloc_err:
+ free(tqp);
return (NULL);
}
#endif
Home |
Main Index |
Thread Index |
Old Index