mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-07-31 00:03:07 +03:00
tests: Free memory of tmp_file in torture_knownhosts_parsing
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@ -72,6 +72,7 @@ static int teardown_knownhosts_file(void **state)
|
|||||||
}
|
}
|
||||||
|
|
||||||
unlink(tmp_file);
|
unlink(tmp_file);
|
||||||
|
SAFE_FREE(tmp_file);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user