summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test-mock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test-mock.c b/test/test-mock.c
index ceb4b20..5831951 100644
--- a/test/test-mock.c
+++ b/test/test-mock.c
@@ -33,6 +33,7 @@ static void test_recording(Fixture *fixture, gconstpointer data)
uca_camera_stop_recording(camera, &error);
g_assert(error != NULL);
+ g_error_free(error);
error = NULL;
uca_camera_start_recording(camera, &error);