Kaydet (Commit) f3c08e8c authored tarafından Enrico Tröger's avatar Enrico Tröger

Fix two memory leaks (patch by Daniel Marjamaki, thanks).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5002 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 017f3641
2010-06-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/tm_workspace.c:
Fix two memory leaks (patch by Daniel Marjamaki, thanks).
2010-06-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com> 2010-06-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html: * doc/geany.txt, doc/geany.html:
...@@ -14,7 +20,7 @@ ...@@ -14,7 +20,7 @@
Fix not closed FILE pointer on early exit Fix not closed FILE pointer on early exit
(patch by Daniel Marjamaki, thanks). (patch by Daniel Marjamaki, thanks).
* doc/images/*.png: * doc/images/*.png:
Update images for Geany0.19. Update images for Geany 0.19.
* src/sidebar.c: * src/sidebar.c:
Destroy the default symbol list treeview only once Destroy the default symbol list treeview only once
(fixes gtk_widget_destroy warning on exit). (fixes gtk_widget_destroy warning on exit).
...@@ -161,7 +167,7 @@ ...@@ -161,7 +167,7 @@
* src/support.h: * src/support.h:
Replace one non breaking space by normal space. Patch by Replace one non breaking space by normal space. Patch by
Daniel Marjamak. Daniel Marjamaki.
2010-05-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de> 2010-05-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
......
...@@ -284,7 +284,11 @@ gboolean tm_workspace_create_global_tags(const char *config_dir, const char *pre ...@@ -284,7 +284,11 @@ gboolean tm_workspace_create_global_tags(const char *config_dir, const char *pre
#endif #endif
if (NULL == theWorkspace || NULL == (fp = g_fopen(temp_file, "w"))) if (NULL == theWorkspace || NULL == (fp = g_fopen(temp_file, "w")))
{
g_free(temp_file);
g_free(temp_file2);
return FALSE; return FALSE;
}
includes_files_hash = g_hash_table_new_full (tm_file_inode_hash, includes_files_hash = g_hash_table_new_full (tm_file_inode_hash,
g_direct_equal, g_direct_equal,
......
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