epiphany r8775 - trunk/src
- From: xan svn gnome org
- To: svn-commits-list gnome org
- Subject: epiphany r8775 - trunk/src
- Date: Sun, 8 Feb 2009 12:23:19 +0000 (UTC)
Author: xan
Date: Sun Feb 8 12:23:18 2009
New Revision: 8775
URL: http://svn.gnome.org/viewvc/epiphany?rev=8775&view=rev
Log:
ephy-seed-extension: free this here.
Modified:
trunk/src/ephy-seed-extension.c
Modified: trunk/src/ephy-seed-extension.c
==============================================================================
--- trunk/src/ephy-seed-extension.c (original)
+++ trunk/src/ephy-seed-extension.c Sun Feb 8 12:23:18 2009
@@ -138,13 +138,13 @@
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))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]