diff options
author | Xan Lopez <xan@src.gnome.org> | 2009-02-08 20:23:18 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2009-02-08 20:23:18 +0800 |
commit | fe8a418b1a814b7e2b712281ea032ec7cc5a9fae (patch) | |
tree | 4fc2e241ad0554828090c25cf04b94fcb7eb9a02 | |
parent | f5f1ae317d5aa4f1074c461832ac09ef6c9092c6 (diff) | |
download | gsoc2013-epiphany-fe8a418b1a814b7e2b712281ea032ec7cc5a9fae.tar gsoc2013-epiphany-fe8a418b1a814b7e2b712281ea032ec7cc5a9fae.tar.gz gsoc2013-epiphany-fe8a418b1a814b7e2b712281ea032ec7cc5a9fae.tar.bz2 gsoc2013-epiphany-fe8a418b1a814b7e2b712281ea032ec7cc5a9fae.tar.lz gsoc2013-epiphany-fe8a418b1a814b7e2b712281ea032ec7cc5a9fae.tar.xz gsoc2013-epiphany-fe8a418b1a814b7e2b712281ea032ec7cc5a9fae.tar.zst gsoc2013-epiphany-fe8a418b1a814b7e2b712281ea032ec7cc5a9fae.zip |
ephy-seed-extension: free this here.
svn path=/trunk/; revision=8775
-rw-r--r-- | src/ephy-seed-extension.c | 6 |
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)) |