free the GError
This commit is contained in:
parent
5cadc1bff5
commit
91de569e69
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue