[glib/issue-1751] cocoanotificationbackend: do not release readonly property



commit c4493d22d164f1efff5a45d15bbfea377c682ca9
Author: Ignacio Casal Quinteiro <qignacio amazon com>
Date:   Mon Apr 22 13:05:37 2019 +0200

    cocoanotificationbackend: do not release readonly property
    
    Fixes a crash when releasing a property that was not retained before.
    
    Helps: https://gitlab.gnome.org/GNOME/glib/issues/1751

 gio/gcocoanotificationbackend.m | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/gio/gcocoanotificationbackend.m b/gio/gcocoanotificationbackend.m
index 9d632b4a5..42cf8abcf 100644
--- a/gio/gcocoanotificationbackend.m
+++ b/gio/gcocoanotificationbackend.m
@@ -258,7 +258,6 @@ g_cocoa_notification_backend_withdraw_notification (GNotificationBackend *backen
         }
     }
 
-  [notifications release];
   [str_id release];
 }
 


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