diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-08-04 21:53:14 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-08-04 21:53:14 +0800 |
commit | 6194c4267e35ae0e3bc67adbe6570e83171fd8e0 (patch) | |
tree | b9e36464d9d53fd07fe515e797855676f3d1c1c9 | |
parent | 1b149ed6b41afda0b86d355dd6f16306c1c70756 (diff) | |
download | gsoc2013-epiphany-6194c4267e35ae0e3bc67adbe6570e83171fd8e0.tar gsoc2013-epiphany-6194c4267e35ae0e3bc67adbe6570e83171fd8e0.tar.gz gsoc2013-epiphany-6194c4267e35ae0e3bc67adbe6570e83171fd8e0.tar.bz2 gsoc2013-epiphany-6194c4267e35ae0e3bc67adbe6570e83171fd8e0.tar.lz gsoc2013-epiphany-6194c4267e35ae0e3bc67adbe6570e83171fd8e0.tar.xz gsoc2013-epiphany-6194c4267e35ae0e3bc67adbe6570e83171fd8e0.tar.zst gsoc2013-epiphany-6194c4267e35ae0e3bc67adbe6570e83171fd8e0.zip |
Fix mem leak; noticed by Jean-François Rameau.
2004-08-04 Christian Persch <chpe@cvs.gnome.org>
* src/window-commands.c: (editor_can_open_uri):
Fix mem leak; noticed by Jean-François Rameau.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/window-commands.c | 5 |
2 files changed, 11 insertions, 0 deletions
@@ -1,5 +1,11 @@ 2004-08-04 Christian Persch <chpe@cvs.gnome.org> + * src/window-commands.c: (editor_can_open_uri): + + Fix mem leak; noticed by Jean-François Rameau. + +2004-08-04 Christian Persch <chpe@cvs.gnome.org> + * src/window-commands.c: (window_cmd_view_page_source): Fix mem leak; noticed by Jean-François Rameau. diff --git a/src/window-commands.c b/src/window-commands.c index a83bf0f50..31354169d 100644 --- a/src/window-commands.c +++ b/src/window-commands.c @@ -702,6 +702,11 @@ editor_can_open_uri (char *address) gnome_vfs_uri_unref (uri); } + if (app) + { + gnome_vfs_mime_application_free (app); + } + return result; } |