diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-08-04 21:52:46 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-08-04 21:52:46 +0800 |
commit | 305c9d1169ccc964f0c9443053cc470b7611d83a (patch) | |
tree | 383021f860effa1f7bdeca978ebe85d712323fcd /src/window-commands.c | |
parent | cf8ecc215f7ea1edaa9e22902b2e62f3f9a4bb48 (diff) | |
download | gsoc2013-epiphany-305c9d1169ccc964f0c9443053cc470b7611d83a.tar gsoc2013-epiphany-305c9d1169ccc964f0c9443053cc470b7611d83a.tar.gz gsoc2013-epiphany-305c9d1169ccc964f0c9443053cc470b7611d83a.tar.bz2 gsoc2013-epiphany-305c9d1169ccc964f0c9443053cc470b7611d83a.tar.lz gsoc2013-epiphany-305c9d1169ccc964f0c9443053cc470b7611d83a.tar.xz gsoc2013-epiphany-305c9d1169ccc964f0c9443053cc470b7611d83a.tar.zst gsoc2013-epiphany-305c9d1169ccc964f0c9443053cc470b7611d83a.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.
Diffstat (limited to 'src/window-commands.c')
-rw-r--r-- | src/window-commands.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/window-commands.c b/src/window-commands.c index f0d8c2d92..aac37cfe9 100644 --- a/src/window-commands.c +++ b/src/window-commands.c @@ -728,6 +728,11 @@ editor_can_open_uri (char *address) gnome_vfs_uri_unref (uri); } + if (app) + { + gnome_vfs_mime_application_free (app); + } + return result; } |