diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-09-23 03:14:56 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-09-23 03:14:56 +0800 |
commit | 4583132b823a56e203f6d94f26c57dcf8c4df87a (patch) | |
tree | d3a014909efaa5979ed675701f05c3aca6b43ac2 | |
parent | 38a400ad4f2119289400add5aebae8ac5285d5fd (diff) | |
download | gsoc2013-epiphany-4583132b823a56e203f6d94f26c57dcf8c4df87a.tar gsoc2013-epiphany-4583132b823a56e203f6d94f26c57dcf8c4df87a.tar.gz gsoc2013-epiphany-4583132b823a56e203f6d94f26c57dcf8c4df87a.tar.bz2 gsoc2013-epiphany-4583132b823a56e203f6d94f26c57dcf8c4df87a.tar.lz gsoc2013-epiphany-4583132b823a56e203f6d94f26c57dcf8c4df87a.tar.xz gsoc2013-epiphany-4583132b823a56e203f6d94f26c57dcf8c4df87a.tar.zst gsoc2013-epiphany-4583132b823a56e203f6d94f26c57dcf8c4df87a.zip |
Fix a mem leak.
2004-09-22 Christian Persch <chpe@cvs.gnome.org>
* src/window-commands.c: (window_cmd_help_about):
Fix a mem leak.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/window-commands.c | 4 |
2 files changed, 9 insertions, 1 deletions
@@ -1,5 +1,11 @@ 2004-09-22 Christian Persch <chpe@cvs.gnome.org> + * src/window-commands.c: (window_cmd_help_about): + + Fix a mem leak. + +2004-09-22 Christian Persch <chpe@cvs.gnome.org> + * src/bookmarks/ephy-topic-action.c: (drag_motion_cb): Fix a mem leak. diff --git a/src/window-commands.c b/src/window-commands.c index b76158d7d..01e5a4e52 100644 --- a/src/window-commands.c +++ b/src/window-commands.c @@ -960,7 +960,7 @@ window_cmd_help_about (GtkAction *action, icon_theme = gtk_icon_theme_get_default (); icon_info = gtk_icon_theme_lookup_icon (icon_theme, "web-browser", -1, 0); - if (icon_info) + if (icon_info != NULL) { icon_path = gtk_icon_info_get_filename (icon_info); @@ -968,6 +968,8 @@ window_cmd_help_about (GtkAction *action, { icon = gdk_pixbuf_new_from_file (icon_path, NULL); } + + gtk_icon_info_free (icon_info); } else { |