diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2018-08-08 15:04:27 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-08-08 15:04:59 +0200 |
commit | 8ce4004260b01a13bbd3817652bb784dc6dd773f (patch) | |
tree | b86a9460adde40c95f23f968585bb5f10e484715 | |
parent | 8c1136741055ad2331e64e5d347acde341938c3f (diff) | |
download | libssh-8ce4004260b01a13bbd3817652bb784dc6dd773f.tar.gz libssh-8ce4004260b01a13bbd3817652bb784dc6dd773f.tar.xz libssh-8ce4004260b01a13bbd3817652bb784dc6dd773f.zip |
tests: Free memory of tmp_file in torture_knownhosts_parsing
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r-- | tests/unittests/torture_knownhosts_parsing.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unittests/torture_knownhosts_parsing.c b/tests/unittests/torture_knownhosts_parsing.c index f0afd390..86752bd9 100644 --- a/tests/unittests/torture_knownhosts_parsing.c +++ b/tests/unittests/torture_knownhosts_parsing.c @@ -72,6 +72,7 @@ static int teardown_knownhosts_file(void **state) } unlink(tmp_file); + SAFE_FREE(tmp_file); return 0; } |