diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-03-05 12:17:46 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-03-05 12:17:46 +0100 |
commit | 2380c982802c8e404b7e4ea58ba74d22c8ab243a (patch) | |
tree | b5fbf89c04fb19fe44e444e75a2b15f06ca529ba /test | |
parent | 8f7201721a823e1daaabbddd20833e5e84baecee (diff) | |
download | libuca-2380c982802c8e404b7e4ea58ba74d22c8ab243a.tar.gz libuca-2380c982802c8e404b7e4ea58ba74d22c8ab243a.tar.bz2 libuca-2380c982802c8e404b7e4ea58ba74d22c8ab243a.tar.xz libuca-2380c982802c8e404b7e4ea58ba74d22c8ab243a.zip |
Fix error handling
Obviously, unit tests pay off.
Diffstat (limited to 'test')
-rw-r--r-- | test/test-mock.c | 1 |
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); |