Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Tue, 30 Jun 2015 11:23:02 UTC Commit: 89f7a2eec92b8d37dd71349952328f091f096b42 https://github.com/geany/geany/commit/89f7a2eec92b8d37dd71349952328f091f096b...
Log Message: ----------- Fix leaking typename_array in tag manager
Modified Paths: -------------- tagmanager/src/tm_workspace.c
Modified: tagmanager/src/tm_workspace.c 3 lines changed, 2 insertions(+), 1 deletions(-) =================================================================== @@ -258,7 +258,8 @@ static void tm_workspace_update(void) g_message("Total: %d tags", theWorkspace->tags_array->len); #endif tm_tags_sort(theWorkspace->tags_array, workspace_tags_sort_attrs, TRUE, FALSE); - + + g_ptr_array_free(theWorkspace->typename_array, TRUE); theWorkspace->typename_array = tm_tags_extract(theWorkspace->tags_array, TM_GLOBAL_TYPE_MASK); }
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).