aboutsummaryrefslogtreecommitdiff
path: root/src/tests/test-qcdm-serial-port.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test-qcdm-serial-port.c')
-rw-r--r--src/tests/test-qcdm-serial-port.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/test-qcdm-serial-port.c b/src/tests/test-qcdm-serial-port.c
index e7bc2f1d..cd9365b5 100644
--- a/src/tests/test-qcdm-serial-port.c
+++ b/src/tests/test-qcdm-serial-port.c
@@ -227,6 +227,7 @@ qcdm_test_child (int fd, GAsyncReadyCallback cb)
qcdm_request_verinfo (port, cb, loop);
g_main_loop_run (loop);
+ g_main_loop_unref (loop);
mm_port_serial_close (MM_PORT_SERIAL (port));
g_object_unref (port);