1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 11:32:48 -05:00

Replace some 'sfree' calls of bignums with the proper 'freebn'.

[originally from svn r9979]
This commit is contained in:
Simon Tatham
2013-08-02 06:28:00 +00:00
parent 6184e9f95d
commit 2e0723e9ef
2 changed files with 9 additions and 15 deletions

View File

@ -433,11 +433,11 @@ static void *dss_openssh_createkey(unsigned char **blob, int *len)
dss->x = getmp(b, len);
if (!dss->p || !dss->q || !dss->g || !dss->y || !dss->x) {
sfree(dss->p);
sfree(dss->q);
sfree(dss->g);
sfree(dss->y);
sfree(dss->x);
freebn(dss->p);
freebn(dss->q);
freebn(dss->g);
freebn(dss->y);
freebn(dss->x);
sfree(dss);
return NULL;
}