aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2009-02-08 20:23:18 +0800
committerXan Lopez <xan@src.gnome.org>2009-02-08 20:23:18 +0800
commitfe8a418b1a814b7e2b712281ea032ec7cc5a9fae (patch)
tree4fc2e241ad0554828090c25cf04b94fcb7eb9a02 /src
parentf5f1ae317d5aa4f1074c461832ac09ef6c9092c6 (diff)
downloadgsoc2013-epiphany-fe8a418b1a814b7e2b712281ea032ec7cc5a9fae.tar.gz
gsoc2013-epiphany-fe8a418b1a814b7e2b712281ea032ec7cc5a9fae.tar.zst
gsoc2013-epiphany-fe8a418b1a814b7e2b712281ea032ec7cc5a9fae.zip
ephy-seed-extension: free this here.
svn path=/trunk/; revision=8775
Diffstat (limited to 'src')
-rw-r--r--src/ephy-seed-extension.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ephy-seed-extension.c b/src/ephy-seed-extension.c
index 281c3d5d0..701ad893c 100644
--- a/src/ephy-seed-extension.c
+++ b/src/ephy-seed-extension.c
@@ -138,13 +138,13 @@ ephy_seed_extension_get_file (const gchar * name)
gchar *dot_dir, *dot_path, *system_path, *dirname;
dot_dir = g_strconcat (ephy_dot_dir (), "/extensions", NULL);
- dot_path = g_strconcat (dot_dir, "/", name, ".js", NULL);
+ dot_path = g_strconcat (dot_dir, "/", name, ".js", NULL);
+ g_free (dot_dir);
+
if (g_file_test (dot_path, G_FILE_TEST_EXISTS))
{
- g_free (dot_dir);
return dot_path;
}
- g_free (dot_dir);
system_path = g_strconcat (EXTENSIONS_DIR, name, NULL);
if (g_file_test (system_path, G_FILE_TEST_EXISTS))