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