mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-02-03 21:52: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 {
|
} else {
|
||||||
sfree(list->buffer);
|
sfree(list->buffer);
|
||||||
sfree(list->sessions);
|
sfree(list->sessions);
|
||||||
|
list->buffer = NULL;
|
||||||
|
list->sessions = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user