free the GError

This commit is contained in:
Dana Jansens 2003-10-25 19:14:10 +00:00
parent 5cadc1bff5
commit 91de569e69

View file

@ -985,6 +985,7 @@ void action_execute(union ActionData *data)
if (!g_spawn_command_line_async(cmd, &e)) { if (!g_spawn_command_line_async(cmd, &e)) {
g_warning("failed to execute '%s': %s", g_warning("failed to execute '%s': %s",
cmd, e->message); cmd, e->message);
g_error_free(e);
} }
g_free(cmd); g_free(cmd);
} else { } else {