about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <p.stephenson@samsung.com>2024-05-13 11:26:06 +0100
committerPeter Stephenson <p.stephenson@samsung.com>2024-05-13 11:26:06 +0100
commitf6e005a9ef55b1fbc5291729faa2ab46bf3d9e8f (patch)
treed79fe0fe1cd173a133ce1535b19643cbb3661680 /Src
parentefb7a962073988b4212820b02017980f5ec83f38 (diff)
downloadzsh-f6e005a9ef55b1fbc5291729faa2ab46bf3d9e8f.tar.gz
zsh-f6e005a9ef55b1fbc5291729faa2ab46bf3d9e8f.tar.xz
zsh-f6e005a9ef55b1fbc5291729faa2ab46bf3d9e8f.zip
Ooops, missed the actualy patch from the foregoing...
Diffstat (limited to 'Src')
-rw-r--r--Src/Modules/zftp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/Modules/zftp.c b/Src/Modules/zftp.c
index 0c26828fd..b60e5bf31 100644
--- a/Src/Modules/zftp.c
+++ b/Src/Modules/zftp.c
@@ -3147,6 +3147,7 @@ zftp_cleanup(void)
     lastmsg = NULL;
     zfunsetparam("ZFTP_SESSION");
     freelinklist(zfsessions, (FreeFunc) freesession);
+    zfsessions = NULL;
     zfree(zfstatusp, sizeof(int)*zfsesscnt);
     zfstatusp = NULL;
 }