SF.net SVN: geany: [1790] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Mon Aug 13 18:27:19 UTC 2007


Revision: 1790
          http://geany.svn.sourceforge.net/geany/?rev=1790&view=rev
Author:   eht16
Date:     2007-08-13 11:27:19 -0700 (Mon, 13 Aug 2007)

Log Message:
-----------
Fix wrong debug message if a session file couldn't be loaded.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/keyfile.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2007-08-13 15:17:38 UTC (rev 1789)
+++ trunk/ChangeLog	2007-08-13 18:27:19 UTC (rev 1790)
@@ -2,6 +2,8 @@
 
  * src/about.c: Increase border space in credits tab and align developer
                 names left.
+ * src/keyfile.c: Fix wrong debug message if a session file couldn't be
+                  loaded.
 
 
 2007-08-12  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>

Modified: trunk/src/keyfile.c
===================================================================
--- trunk/src/keyfile.c	2007-08-13 15:17:38 UTC (rev 1789)
+++ trunk/src/keyfile.c	2007-08-13 18:27:19 UTC (rev 1790)
@@ -621,7 +621,6 @@
 
 			// try to get the locale equivalent for the filename, fallback to filename if error
 			locale_filename = utils_get_locale_from_utf8(file);
-			g_strfreev(array);
 
 			if (g_file_test(locale_filename, G_FILE_TEST_IS_REGULAR | G_FILE_TEST_IS_SYMLINK))
 			{
@@ -635,6 +634,7 @@
 				geany_debug("Could not find file '%s'.", file);
 			}
 
+			g_strfreev(array);
 			g_free(locale_filename);
 		}
 		g_free(tmp);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list