tests: Fix memory leak in torture_server_x11 test
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Этот коммит содержится в:
родитель
ee460dc04b
Коммит
57afe78167
@ -45,6 +45,8 @@ static void teardown(void **state) {
|
||||
struct hostkey_state *h = (struct hostkey_state *)*state;
|
||||
|
||||
unlink(h->hostkey);
|
||||
free(h->hostkey_path);
|
||||
free(h);
|
||||
}
|
||||
|
||||
/* For x11_screen_number, need something that is not equal to htonl
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user