aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window-commands.c')
-rw-r--r--src/window-commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index c217b3bd4..bc793234d 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -287,7 +287,7 @@ window_cmd_file_open (EggAction *action,
EphyWindow *window)
{
gchar *dir, *retDir;
- gchar *file = NULL;
+ gchar *file;
GnomeVFSURI *uri;
GtkWidget *wmain;
EphyEmbedShell *embed_shell;
@@ -327,10 +327,10 @@ window_cmd_file_open (EggAction *action,
g_free (retDir);
gnome_vfs_uri_unref (uri);
}
+ g_free (file);
}
g_free (dir);
- g_free (file);
}
void