Branch: refs/heads/master Author: Dimitar Zhekov dimitar.zhekov@gmail.com Committer: Dimitar Zhekov dimitar.zhekov@gmail.com Date: Thu, 19 Mar 2015 17:03:59 UTC Commit: 3b723b8ce000ce5bd60a5dc41cb3c620bfaba381 https://github.com/geany/geany/commit/3b723b8ce000ce5bd60a5dc41cb3c620bfaba3...
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).