[gnome-calendar] window: fix memory leak
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] window: fix memory leak
- Date: Thu, 4 Dec 2014 22:35:35 +0000 (UTC)
commit 7b97248c8b6a892829896247eb597aee97e61831
Author: Erick Pérez Castellanos <erick red gmail com>
Date: Tue Oct 14 19:48:15 2014 -0400
window: fix memory leak
src/gcal-window.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-window.c b/src/gcal-window.c
index d5395f2..fe0a3a0 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -1281,6 +1281,10 @@ gcal_window_events_added (GcalManager *manager,
G_CALLBACK (event_activated),
user_data);
}
+ else
+ {
+ gtk_widget_destroy (e);
+ }
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]