[gtk+/wip/otte/shader: 154/156] xxx: type_unref



commit 429a437352e4247dd80805ca81393aeec147252b
Author: Benjamin Otte <otte redhat com>
Date:   Sun Oct 22 02:40:59 2017 +0200

    xxx: type_unref

 gsk/gsksltype.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gsk/gsksltype.c b/gsk/gsksltype.c
index cc778ff..2ebfce5 100644
--- a/gsk/gsksltype.c
+++ b/gsk/gsksltype.c
@@ -2384,7 +2384,7 @@ gsk_sl_type_unref (GskSlType *type)
   if (type->ref_count > 0)
     return;
 
-  g_assert_not_reached ();
+  type->class->free (type);
 }
 
 const char *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]