diff options
-rw-r--r-- | src/spawn.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/spawn.cpp b/src/spawn.cpp index f5b7f2f..9039975 100644 --- a/src/spawn.cpp +++ b/src/spawn.cpp @@ -219,8 +219,6 @@ StateExecuteCommand::~StateExecuteCommand() { g_main_loop_unref(ctx.mainloop); g_main_context_unref(ctx.mainctx); - if (ctx.error) - g_error_free(ctx.error); } void @@ -418,8 +416,6 @@ gerror: undo.push_var(register_argument) = NULL; g_error_free(ctx.error); - ctx.error = NULL; - return &States::start; } |