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/drm Add missing prop_object_release(),...



details:   https://anonhg.NetBSD.org/src/rev/a6d3b4954193
branches:  trunk
changeset: 999405:a6d3b4954193
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Fri May 31 10:47:48 2019 +0000

description:
Add missing prop_object_release(), from thorpej

diffstat:

 sys/external/bsd/drm2/drm/drmfb.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 9a18a01ffb00 -r a6d3b4954193 sys/external/bsd/drm2/drm/drmfb.c
--- a/sys/external/bsd/drm2/drm/drmfb.c Fri May 31 05:47:22 2019 +0000
+++ b/sys/external/bsd/drm2/drm/drmfb.c Fri May 31 10:47:48 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drmfb.c,v 1.5 2019/05/31 01:30:08 jmcneill Exp $       */
+/*     $NetBSD: drmfb.c,v 1.6 2019/05/31 10:47:48 jmcneill Exp $       */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drmfb.c,v 1.5 2019/05/31 01:30:08 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drmfb.c,v 1.6 2019/05/31 10:47:48 jmcneill Exp $");
 
 #ifdef _KERNEL_OPT
 #include "vga.h"
@@ -144,6 +144,7 @@
                        prop_data_t edid_data =
                            prop_data_create_data(edid->data, edid->length);
                        prop_dictionary_set(dict, "EDID", edid_data);
+                       prop_object_release(edid_data);
                        break;
                }
        }



Home | Main Index | Thread Index | Old Index