X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/4639c740e008311cd00429ce1947b3e44780523b..c6fa3909a3c76e82290d37c858808d94576f663e:/settings.c diff --git a/settings.c b/settings.c index 8b9caa0b..f407385e 100644 --- a/settings.c +++ b/settings.c @@ -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; } }