[geany/geany-plugins] a37b17: Gproject: fix memory leak due to mismatching deallocator
Pavel Roschin
git-noreply at xxxxx
Sun Mar 30 21:42:23 UTC 2014
Branch: refs/heads/master
Author: Pavel Roschin <roshin at scriptumplus.ru>
Committer: Pavel Roschin <roshin at scriptumplus.ru>
Date: Sun, 30 Mar 2014 21:42:23 UTC
Commit: a37b1791dd3c00404c5afb2485d6345d410c1e52
https://github.com/geany/geany-plugins/commit/a37b1791dd3c00404c5afb2485d6345d410c1e52
Log Message:
-----------
Gproject: fix memory leak due to mismatching deallocator
Modified Paths:
--------------
gproject/src/gproject-project.c
Modified: gproject/src/gproject-project.c
6 files changed, 3 insertions(+), 3 deletions(-)
===================================================================
@@ -345,9 +345,9 @@ void gprj_project_open(GKeyFile * key_file)
ignored_dirs_patterns,
generate_tags);
- g_free(source_patterns);
- g_free(header_patterns);
- g_free(ignored_dirs_patterns);
+ g_strfreev(source_patterns);
+ g_strfreev(header_patterns);
+ g_strfreev(ignored_dirs_patterns);
}
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list