[gnome-calendar/mcatanzaro/#455: 4/4] Fix double free in gcal_quick_add_popover_set_property
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/mcatanzaro/#455: 4/4] Fix double free in gcal_quick_add_popover_set_property
- Date: Sat, 21 Sep 2019 16:09:57 +0000 (UTC)
commit cb14c3f46c1b626d1391828b66f11ce19f1f8993
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sat Sep 21 10:57:31 2019 -0500
Fix double free in gcal_quick_add_popover_set_property
This already uses an autoptr.
Fixes #455
src/gui/gcal-quick-add-popover.c | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/src/gui/gcal-quick-add-popover.c b/src/gui/gcal-quick-add-popover.c
index e7317b63..34d97ed1 100644
--- a/src/gui/gcal-quick-add-popover.c
+++ b/src/gui/gcal-quick-add-popover.c
@@ -796,8 +796,6 @@ gcal_quick_add_popover_set_property (GObject *object,
for (l = calendars; l; l = l->next)
on_calendar_added (manager, l->data, self);
- g_list_free (calendars);
-
/* Connect to the manager signals and keep the list updates */
g_signal_connect (manager, "calendar-added", G_CALLBACK (on_calendar_added), self);
g_signal_connect (manager, "calendar-changed", G_CALLBACK (on_calendar_changed), self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]