diff options
Diffstat (limited to 'Src/Modules')
-rw-r--r-- | Src/Modules/zftp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/Modules/zftp.c b/Src/Modules/zftp.c index 30f517658..bd51512f9 100644 --- a/Src/Modules/zftp.c +++ b/Src/Modules/zftp.c @@ -3149,9 +3149,11 @@ zftp_cleanup(void) zfclose(zfsess != cursess); } zsfree(lastmsg); + lastmsg = NULL; zfunsetparam("ZFTP_SESSION"); freelinklist(zfsessions, (FreeFunc) freesession); zfree(zfstatusp, sizeof(int)*zfsesscnt); + zfstatusp = NULL; } static int |