1
1

tests: Fix memory leak in torture_server_x11 test

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Этот коммит содержится в:
Andreas Schneider 2015-05-06 09:33:51 +02:00
родитель 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