Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04 Ifdef out a ...
details: https://anonhg.NetBSD.org/src/rev/7af6ae767183
branches: trunk
changeset: 835098:7af6ae767183
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Aug 27 07:35:03 2018 +0000
description:
Ifdef out a kfree that I'm pretty sure applies to a static constant.
diffstat:
sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/nouveau_dispnv04_tvnv04.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r ab0a44972a67 -r 7af6ae767183 sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/nouveau_dispnv04_tvnv04.c
--- a/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/nouveau_dispnv04_tvnv04.c Mon Aug 27 07:34:54 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/nouveau_dispnv04_tvnv04.c Mon Aug 27 07:35:03 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nouveau_dispnv04_tvnv04.c,v 1.3 2018/08/27 04:58:29 riastradh Exp $ */
+/* $NetBSD: nouveau_dispnv04_tvnv04.c,v 1.4 2018/08/27 07:35:03 riastradh Exp $ */
/*
* Copyright (C) 2009 Francisco Jerez.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nouveau_dispnv04_tvnv04.c,v 1.3 2018/08/27 04:58:29 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nouveau_dispnv04_tvnv04.c,v 1.4 2018/08/27 07:35:03 riastradh Exp $");
#include <linux/err.h>
@@ -189,7 +189,9 @@
get_slave_funcs(encoder)->destroy(encoder);
drm_encoder_cleanup(encoder);
+#ifndef __NetBSD__ /* XXX How can this possibly be right? */
kfree(encoder->helper_private);
+#endif
kfree(nouveau_encoder(encoder));
}
Home |
Main Index |
Thread Index |
Old Index