SF.net SVN: geany: [2648] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Thu Jun 5 16:42:34 UTC 2008
Revision: 2648
http://geany.svn.sourceforge.net/geany/?rev=2648&view=rev
Author: ntrel
Date: 2008-06-05 09:42:28 -0700 (Thu, 05 Jun 2008)
Log Message:
-----------
Fix segfault after Save As (oops).
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/dialogs.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-06-05 16:07:39 UTC (rev 2647)
+++ trunk/ChangeLog 2008-06-05 16:42:28 UTC (rev 2648)
@@ -16,6 +16,8 @@
* src/document.c:
Only reorder recent files on closing documents that have existed on
disk.
+ * src/dialogs.c:
+ Fix segfault after Save As (oops).
2008-06-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/src/dialogs.c
===================================================================
--- trunk/src/dialogs.c 2008-06-05 16:07:39 UTC (rev 2647)
+++ trunk/src/dialogs.c 2008-06-05 16:42:28 UTC (rev 2648)
@@ -410,7 +410,6 @@
/* create a new tm_source_file object otherwise tagmanager won't work correctly */
tm_workspace_remove_object(documents[idx]->tm_file, TRUE, TRUE);
documents[idx]->tm_file = NULL;
- g_free(documents[idx]->file_name);
}
document_save_file_as(idx, utf8_filename);
}
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