From d0413de71b98ad585fadbf5e76613e6a042af9bb Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 11 Jul 2018 19:54:24 +0100 Subject: [PATCH] test/dbus-daemon: Don't leak error if no machine ID was found Signed-off-by: Simon McVittie Reviewed-by: Philip Withnall Bug: https://bugs.freedesktop.org/show_bug.cgi?id=107194 --- test/dbus-daemon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/dbus-daemon.c b/test/dbus-daemon.c index f8ffbee24..49fc1e3ee 100644 --- a/test/dbus-daemon.c +++ b/test/dbus-daemon.c @@ -1171,6 +1171,7 @@ test_peer_get_machine_id (Fixture *f, /* When running unit tests during make check or make installcheck, * tolerate this */ g_test_skip ("Machine UUID not available"); + dbus_error_free (&error); return; } else -- 2.47.3