summaryrefslogtreecommitdiffstats
path: root/tools/gui/control.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gui/control.c')
-rw-r--r--tools/gui/control.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gui/control.c b/tools/gui/control.c
index aaeeb75..a5ef410 100644
--- a/tools/gui/control.c
+++ b/tools/gui/control.c
@@ -320,6 +320,7 @@ on_download_button_clicked (GtkWidget *widget, ThreadData *data)
else
g_printerr ("Error while reading out frames: %s\n", error->message);
+ g_error_free (error);
uca_camera_stop_readout (data->camera, &error);
if (error != NULL)