1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-02-12 13:01:57 +00:00

test: don't leak sd_event in wpas tests

Correctly free the sd_event object we allocate, otherwise valgrind will
complain loudly.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
This commit is contained in:
David Herrmann 2014-03-28 12:46:38 +01:00
parent 9fdda3b09a
commit 729acb64ca

View file

@ -52,6 +52,8 @@ static void stop_test_client(void)
client = NULL;
wpas_unref(server);
server = NULL;
sd_event_unref(event);
event = NULL;
}
START_TEST(bus_invalid_open)