summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-10-18 13:40:58 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-10-18 13:40:58 +0200
commit694d4b4edd93bc8fdba6f578454d6b7b9f95003f (patch)
tree9a8db7cb42ff2154a92ac3c418924b20bc3f17d3 /tools
parent983005dfbc3b07093145c0b964063e334b928d48 (diff)
downloadlibuca-694d4b4edd93bc8fdba6f578454d6b7b9f95003f.tar.gz
libuca-694d4b4edd93bc8fdba6f578454d6b7b9f95003f.tar.bz2
libuca-694d4b4edd93bc8fdba6f578454d6b7b9f95003f.tar.xz
libuca-694d4b4edd93bc8fdba6f578454d6b7b9f95003f.zip
Free error that will be set during download
Diffstat (limited to 'tools')
-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)