Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6-1]: src/sys/compat/common Pull up following revision(s) (reques...
details: https://anonhg.NetBSD.org/src/rev/48dc4f9c817b
branches: netbsd-6-1
changeset: 775893:48dc4f9c817b
user: bouyer <bouyer%NetBSD.org@localhost>
date: Tue Dec 17 20:52:17 2013 +0000
description:
Pull up following revision(s) (requested by martin in ticket #999):
sys/compat/common/compat_util.c: revision 1.45
Free pathbuf in an error path.
>From Maxime Villard.
diffstat:
sys/compat/common/compat_util.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 502c08c90f1c -r 48dc4f9c817b sys/compat/common/compat_util.c
--- a/sys/compat/common/compat_util.c Tue Dec 17 20:48:30 2013 +0000
+++ b/sys/compat/common/compat_util.c Tue Dec 17 20:52:17 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_util.c,v 1.44 2010/11/19 06:44:35 dholland Exp $ */
+/* $NetBSD: compat_util.c,v 1.44.28.1 2013/12/17 20:52:17 bouyer Exp $ */
/*-
* Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_util.c,v 1.44 2010/11/19 06:44:35 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_util.c,v 1.44.28.1 2013/12/17 20:52:17 bouyer Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -139,6 +139,7 @@
error = namei(&nd);
if (error != 0) {
epp->ep_interp = NULL;
+ pathbuf_destroy(pb);
return error;
}
Home |
Main Index |
Thread Index |
Old Index