[glib/issue-1751] cocoanotificationbackend: do not release readonly property
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/issue-1751] cocoanotificationbackend: do not release readonly property
- Date: Mon, 22 Apr 2019 11:08:29 +0000 (UTC)
commit e0a034e9e086c3ea1c53998acda01896cb43812b
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.
Fixes 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]