Skip to content

Commit

Permalink
Gproject: fix memory leak due to mismatching deallocator
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptum committed Mar 30, 2014
1 parent b5b0ce5 commit a37b179
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gproject/src/gproject-project.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}


Expand Down

0 comments on commit a37b179

Please sign in to comment.