[gnome-calendar/ui-rewrite] window: fix memory leak
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/ui-rewrite] window: fix memory leak
- Date: Wed, 15 Oct 2014 14:32:06 +0000 (UTC)
commit 92d84f78b79aa606b3d879eef6d1b992b34c81df
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]