[geany/geany] 0cb139: Plug a memory leak

Colomban Wendling git-noreply at xxxxx
Sun Nov 3 21:18:50 UTC 2013


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sun, 03 Nov 2013 21:18:50 UTC
Commit:      0cb139638f18c8b633ce7ad5bd3fb0a4f0dfc869
             https://github.com/geany/geany/commit/0cb139638f18c8b633ce7ad5bd3fb0a4f0dfc869

Log Message:
-----------
Plug a memory leak


Modified Paths:
--------------
    src/templates.c

Modified: src/templates.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -630,7 +630,7 @@ static gchar *run_command(const gchar *command, const gchar *file_name,
 		{
 			g_warning("templates_replace_command: %s", error->message);
 			g_error_free(error);
-			return NULL;
+			result = NULL;
 		}
 		g_strfreev(argv);
 		g_strfreev(env);



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list