Fix incorrectly freeing GError

This commit is contained in:
Benjamin Schaaf
2021-11-16 23:22:32 +11:00
parent 3fb5eef160
commit c277342f74
3 changed files with 7 additions and 3 deletions

View File

@@ -609,6 +609,7 @@ process_capture_burst(GdkTexture *thumb)
if (!proc) {
g_printerr("Failed to spawn postprocess process: %s\n",
error->message);
g_error_free(error);
return;
}