]> www.fi.muni.cz Git - evince.git/commitdiff
*** empty log message ***
authorMarco Pesenti Gritti <marco@src.gnome.org>
Mon, 26 Sep 2005 10:41:12 +0000 (10:41 +0000)
committerMarco Pesenti Gritti <marco@src.gnome.org>
Mon, 26 Sep 2005 10:41:12 +0000 (10:41 +0000)
shell/ev-window.c

index 3ca912eaec42f3746394a09401d2b1ddf82b45e7..5b832c553af6d6b376b59d61d1b1b34bb0f75e8d 100644 (file)
@@ -3244,10 +3244,10 @@ launch_link (EvWindow *window, EvLink *link)
                        resolved_uri = gnome_vfs_uri_resolve_relative (base_uri, filename);     
                        if (resolved_uri) {
                                uri = gnome_vfs_uri_to_string (resolved_uri, GNOME_VFS_URI_HIDE_NONE);
+                               gnome_vfs_uri_unref (resolved_uri);
                        }
-                       gnome_vfs_uri_unref (resolved_uri);
+                       gnome_vfs_uri_unref (base_uri);
                }
-               gnome_vfs_uri_unref (base_uri);
        }
 
        if (uri) {