Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src/lib/libc/citrus Pull up following revision(s) (requested ...
details: https://anonhg.NetBSD.org/src/rev/e61c4092cd50
branches: netbsd-6
changeset: 774207:e61c4092cd50
user: riz <riz%NetBSD.org@localhost>
date: Tue Jun 12 19:42:53 2012 +0000
description:
Pull up following revision(s) (requested by martin in ticket #324):
lib/libc/citrus/citrus_mapper.c: revision 1.10
Henning Petersen in PR lib/46560: fix memory leak in error path
diffstat:
lib/libc/citrus/citrus_mapper.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r d07e4738ae22 -r e61c4092cd50 lib/libc/citrus/citrus_mapper.c
--- a/lib/libc/citrus/citrus_mapper.c Tue Jun 12 19:41:25 2012 +0000
+++ b/lib/libc/citrus/citrus_mapper.c Tue Jun 12 19:42:53 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: citrus_mapper.c,v 1.9 2011/11/19 18:43:40 tnozaki Exp $ */
+/* $NetBSD: citrus_mapper.c,v 1.9.2.1 2012/06/12 19:42:53 riz Exp $ */
/*-
* Copyright (c)2003 Citrus Project,
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: citrus_mapper.c,v 1.9 2011/11/19 18:43:40 tnozaki Exp $");
+__RCSID("$NetBSD: citrus_mapper.c,v 1.9.2.1 2012/06/12 19:42:53 riz Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
@@ -102,6 +102,7 @@
}
ma->ma_dir = strdup(area);
if (ma->ma_dir == NULL) {
+ free(ma);
ret = errno;
goto quit;
}
Home |
Main Index |
Thread Index |
Old Index