[geany/geany] 3b723b: Fix a memory leak when checking a spawn command line
Dimitar Zhekov
git-noreply at xxxxx
Fri May 15 17:07:22 UTC 2015
Branch: refs/heads/master
Author: Dimitar Zhekov <dimitar.zhekov at gmail.com>
Committer: Dimitar Zhekov <dimitar.zhekov at gmail.com>
Date: Thu, 19 Mar 2015 17:03:59 UTC
Commit: 3b723b8ce000ce5bd60a5dc41cb3c620bfaba381
https://github.com/geany/geany/commit/3b723b8ce000ce5bd60a5dc41cb3c620bfaba381
Log Message:
-----------
Fix a memory leak when checking a spawn command line
Modified Paths:
--------------
src/spawn.c
Modified: src/spawn.c
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -174,6 +174,7 @@ gboolean spawn_check_command(const gchar *command_line, gboolean execute, GError
g_set_error(error, G_SHELL_ERROR, G_SHELL_ERROR_BAD_QUOTING,
_("Text ended before matching quote was found for %c."
" (The text was '%s')"), '"', command_line);
+ g_free(program);
return FALSE;
}
#else /* G_OS_WIN32 */
--------------
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