1
0
mirror of https://github.com/mirror/wget.git synced 2025-03-01 13:20:19 +08:00

* src/http.c (metalink_from_http): Fix memleak (Coverity , )

This commit is contained in:
Tim Rühsen 2020-02-19 17:03:29 +01:00
parent 2b48b50aa5
commit 1dfd1aa1cf

View File

@ -3077,6 +3077,8 @@ skip_content_type:
if (dig_hash_str_len >= sizeof (bin_hash))
{
DEBUGP (("Hash too long, ignored.\n"));
xfree (dig_type);
xfree (dig_hash);
continue;
}