summaryrefslogtreecommitdiffstats
path: root/src/ufo-roof-read-task.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ufo-roof-read-task.c')
-rw-r--r--src/ufo-roof-read-task.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ufo-roof-read-task.c b/src/ufo-roof-read-task.c
index ebff9de..1582437 100644
--- a/src/ufo-roof-read-task.c
+++ b/src/ufo-roof-read-task.c
@@ -172,6 +172,7 @@ ufo_roof_read_task_generate (UfoTask *task,
guint packets = priv->reader->read(priv->reader, output_buffer, &gerr);
if (gerr) {
g_warning("Error reciving data: %s", gerr->message);
+ g_error_free(gerr);
return FALSE;
}