[evolution/wip/webkit-composer: 313/372] Fix leak of uri in editor_widget_button_release_event
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit-composer: 313/372] Fix leak of uri in editor_widget_button_release_event
- Date: Thu, 6 Feb 2014 11:49:49 +0000 (UTC)
commit a43b8c77166e520b609ba46edb54aa7363c964e8
Author: Tomas Popela <tpopela redhat com>
Date: Fri Oct 11 13:18:21 2013 +0200
Fix leak of uri in editor_widget_button_release_event
e-util/e-editor-widget.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-editor-widget.c b/e-util/e-editor-widget.c
index abae6fa..f458b88 100644
--- a/e-util/e-editor-widget.c
+++ b/e-util/e-editor-widget.c
@@ -969,11 +969,14 @@ editor_widget_button_release_event (GtkWidget *widget,
toplevel = gtk_widget_get_toplevel (widget);
screen = gtk_window_get_screen (GTK_WINDOW (toplevel));
gtk_show_uri (screen, uri, event->time, NULL);
+ g_free (uri);
}
return TRUE;
}
+ g_free (uri);
+
/* Chain up to parent's button_release_event() method. */
return GTK_WIDGET_CLASS (e_editor_widget_parent_class)->
button_release_event (widget, event);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]