1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

In get_sesslist(), when freeing, set freed members to NULL on general

principles.

[originally from svn r5608]
This commit is contained in:
Jacob Nevins 2005-04-07 01:32:41 +00:00
parent 91f9a3c6da
commit a068889389

View File

@ -818,5 +818,7 @@ void get_sesslist(struct sesslist *list, int allocate)
} else {
sfree(list->buffer);
sfree(list->sessions);
list->buffer = NULL;
list->sessions = NULL;
}
}