Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Thu, 14 Jan 2016 19:27:27 UTC Commit: 2cb96c840519df9dcf9ba867b5922322c580c36a https://github.com/geany/geany-plugins/commit/2cb96c840519df9dcf9ba867b59223...
Log Message: ----------- geniuspaste: Fix a memory leak
Modified Paths: -------------- geniuspaste/src/geniuspaste.c
Modified: geniuspaste/src/geniuspaste.c 2 lines changed, 2 insertions(+), 0 deletions(-) =================================================================== @@ -111,6 +111,8 @@ static void load_settings(void) { GKeyFile *config = g_key_file_new();
+ if (config_file) + g_free(config_file); config_file = g_strconcat(geany->app->configdir, G_DIR_SEPARATOR_S, "plugins", G_DIR_SEPARATOR_S, "geniuspaste", G_DIR_SEPARATOR_S, "geniuspaste.conf", NULL); g_key_file_load_from_file(config, config_file, G_KEY_FILE_NONE, NULL);
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).