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:
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;
|
||||
wpas_unref(server);
|
||||
server = NULL;
|
||||
sd_event_unref(event);
|
||||
event = NULL;
|
||||
}
|
||||
|
||||
START_TEST(bus_invalid_open)
|
||||
|
|
Loading…
Reference in a new issue