1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Fix memory leak when reading a public key.

Leak Sanitiser pointed out in passing that the blob read from the key
file wasn't being freed.
This commit is contained in:
Simon Tatham 2019-01-23 18:54:34 +00:00
parent a53559a0dc
commit 8ebdaf0b1d

View File

@ -553,6 +553,7 @@ static bool read_blob(FILE *fp, int nlines, BinarySink *bs)
}
sfree(line);
}
sfree(blob);
return true;
}