Module Name: src
Committed By: riastradh
Date: Sat Nov 11 17:37:03 UTC 2017
Modified Files:
src/sys/arch/x86/x86: intr.c
Log Message:
Free ih when done.
To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.110 src/sys/arch/x86/x86/intr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x86/x86/intr.c
diff -u src/sys/arch/x86/x86/intr.c:1.109 src/sys/arch/x86/x86/intr.c:1.110
--- src/sys/arch/x86/x86/intr.c:1.109 Sat Nov 11 17:26:51 2017
+++ src/sys/arch/x86/x86/intr.c Sat Nov 11 17:37:03 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.c,v 1.109 2017/11/11 17:26:51 riastradh Exp $ */
+/* $NetBSD: intr.c,v 1.110 2017/11/11 17:37:03 riastradh Exp $ */
/*-
* Copyright (c) 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -133,7 +133,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.109 2017/11/11 17:26:51 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.110 2017/11/11 17:37:03 riastradh Exp $");
#include "opt_intrdebug.h"
#include "opt_multiprocessor.h"
@@ -1324,6 +1324,7 @@ intr_disestablish(struct intrhand *ih)
#else /* XEN */
if (ih->pic_type == PIC_XEN) {
event_remove_handler(ih->ih_pin, ih->ih_realfun, ih->ih_realarg);
+ kmem_free(ih, sizeof(*ih));
return;
}
#if defined(DOM0OPS)