X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/74790953a734d6e745c1e412cb9824743348ec3c..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; } }