[gnome-calendar] bug: fixing double free when g_list_delete_link
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] bug: fixing double free when g_list_delete_link
- Date: Thu, 4 Dec 2014 22:29:11 +0000 (UTC)
commit 062d244fe369dd9098227bba874ed56af9effe5d
Author: Erick Pérez Castellanos <erick red gmail com>
Date: Sat Jul 27 13:47:24 2013 -0400
bug: fixing double free when g_list_delete_link
src/gcal-all-day-grid.c | 1 -
src/gcal-days-grid.c | 2 --
2 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/gcal-all-day-grid.c b/src/gcal-all-day-grid.c
index 4c5fb55..3a875a5 100644
--- a/src/gcal-all-day-grid.c
+++ b/src/gcal-all-day-grid.c
@@ -693,7 +693,6 @@ gcal_all_day_grid_remove (GtkContainer *container,
GList* orig = (GList*) columns->data;
orig = g_list_delete_link (orig, column);
- g_free (info);
gtk_widget_unparent (widget);
columns->data = orig;
diff --git a/src/gcal-days-grid.c b/src/gcal-days-grid.c
index 811f11a..9693807 100644
--- a/src/gcal-days-grid.c
+++ b/src/gcal-days-grid.c
@@ -934,8 +934,6 @@ gcal_days_grid_remove (GtkContainer *container,
GList* orig = (GList*) columns->data;
orig = g_list_delete_link (orig, column);
- g_free (info);
-
gtk_widget_unparent (widget);
columns->data = orig;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]