Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/x86 fix leak.
details: https://anonhg.NetBSD.org/src/rev/0ffc70f2031e
branches: trunk
changeset: 332449:0ffc70f2031e
user: christos <christos%NetBSD.org@localhost>
date: Sun Sep 21 16:40:53 2014 +0000
description:
fix leak.
diffstat:
sys/arch/x86/x86/ipmi.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r fcd19e304b73 -r 0ffc70f2031e sys/arch/x86/x86/ipmi.c
--- a/sys/arch/x86/x86/ipmi.c Sun Sep 21 16:37:34 2014 +0000
+++ b/sys/arch/x86/x86/ipmi.c Sun Sep 21 16:40:53 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ipmi.c,v 1.57 2014/08/10 16:44:34 tls Exp $ */
+/* $NetBSD: ipmi.c,v 1.58 2014/09/21 16:40:53 christos Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -52,7 +52,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipmi.c,v 1.57 2014/08/10 16:44:34 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipmi.c,v 1.58 2014/09/21 16:40:53 christos Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -1209,6 +1209,7 @@
psdr + offset, NULL)) {
printf("ipmi: get chunk : %d,%d fails\n",
offset, len);
+ free(psdr, M_DEVBUF);
return (-1);
}
}
Home |
Main Index |
Thread Index |
Old Index