summaryrefslogtreecommitdiffstats
path: root/ucad.c
diff options
context:
space:
mode:
Diffstat (limited to 'ucad.c')
-rw-r--r--ucad.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ucad.c b/ucad.c
index eae086b..4ca35b0 100644
--- a/ucad.c
+++ b/ucad.c
@@ -303,6 +303,7 @@ serve_connection (GSocketConnection *connection, UcaCamera *camera)
if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_BROKEN_PIPE)) {
g_error_free (error);
+ error = NULL;
active = FALSE;
break;
}