Kaydet (Commit) d4748f43 authored tarafından Nick Treleaven's avatar Nick Treleaven

Fix segfault after Save As (oops).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2648 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 6e91b0ab
......@@ -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>
......
......@@ -410,7 +410,6 @@ static void handle_save_as(const gchar *utf8_filename, gboolean open_new_tab,
/* 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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment