Skip to content

Commit

Permalink
Fix a memory leak when checking a spawn command line
Browse files Browse the repository at this point in the history
  • Loading branch information
zhekov committed Mar 19, 2015
1 parent faa6cd8 commit 3b723b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/spawn.c
Expand Up @@ -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 */
Expand Down

0 comments on commit 3b723b8

Please sign in to comment.