Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/sys/external/bsd/drm2/drm Pull up following revision(s) (...
details: https://anonhg.NetBSD.org/src/rev/a4f047a697ba
branches: netbsd-7
changeset: 799461:a4f047a697ba
user: snj <snj%NetBSD.org@localhost>
date: Sun Jul 05 21:29:26 2015 +0000
description:
Pull up following revision(s) (requested by chs in ticket #848):
sys/external/bsd/drm2/drm/drm_vma_manager.c: revision 1.3
plug memory leak in drm_vma_node_revoke().
diffstat:
sys/external/bsd/drm2/drm/drm_vma_manager.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 70b7a000b091 -r a4f047a697ba sys/external/bsd/drm2/drm/drm_vma_manager.c
--- a/sys/external/bsd/drm2/drm/drm_vma_manager.c Sun Jul 05 20:37:01 2015 +0000
+++ b/sys/external/bsd/drm2/drm/drm_vma_manager.c Sun Jul 05 21:29:26 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_vma_manager.c,v 1.1.4.1 2015/03/06 21:39:10 snj Exp $ */
+/* $NetBSD: drm_vma_manager.c,v 1.1.4.2 2015/07/05 21:29:26 snj Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_vma_manager.c,v 1.1.4.1 2015/03/06 21:39:10 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_vma_manager.c,v 1.1.4.2 2015/07/05 21:29:26 snj Exp $");
#include <sys/kmem.h>
#include <sys/rbtree.h>
@@ -289,6 +289,8 @@
if (found != NULL)
rb_tree_remove_node(&node->von_files, found);
rw_exit(&node->von_lock);
+ if (found != NULL)
+ kmem_free(found, sizeof(*found));
}
bool
Home |
Main Index |
Thread Index |
Old Index