mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +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:
parent
9fdda3b09a
commit
729acb64ca
1 changed files with 2 additions and 0 deletions
|
@ -52,6 +52,8 @@ static void stop_test_client(void)
|
||||||
client = NULL;
|
client = NULL;
|
||||||
wpas_unref(server);
|
wpas_unref(server);
|
||||||
server = NULL;
|
server = NULL;
|
||||||
|
sd_event_unref(event);
|
||||||
|
event = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
START_TEST(bus_invalid_open)
|
START_TEST(bus_invalid_open)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue