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/0d9f3679c1be
branches:  trunk
changeset: 451714:0d9f3679c1be
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 df07caac1a17 -r 0d9f3679c1be 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