[gnome-calendar/gnome-3-24] event-widget: fix memory leak
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/gnome-3-24] event-widget: fix memory leak
- Date: Mon, 15 May 2017 20:53:42 +0000 (UTC)
commit 7cf3dbd3b4a9f0187a1ce8c41428027bf4961933
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date: Fri May 12 21:07:03 2017 +0530
event-widget: fix memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=782566
src/gcal-event-widget.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-event-widget.c b/src/gcal-event-widget.c
index 25aceda..4c991ba 100644
--- a/src/gcal-event-widget.c
+++ b/src/gcal-event-widget.c
@@ -903,6 +903,7 @@ get_dnd_icon (GtkWidget *widget)
cr = cairo_create (surface);
gtk_widget_draw (widget, cr);
+ cairo_destroy (cr);
return surface;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]