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:
parent
91f9a3c6da
commit
a068889389
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user