projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Further clarity and speed cleanups of minibidi:
[u/mdw/putty]
/
ssh.c
diff --git
a/ssh.c
b/ssh.c
index
e0facac
..
8c552b1
100644
(file)
--- a/
ssh.c
+++ b/
ssh.c
@@
-7235,12
+7235,14
@@
static void ssh_free(void *handle)
sfree(c);
}
freetree234(ssh->channels);
sfree(c);
}
freetree234(ssh->channels);
+ ssh->channels = NULL;
}
if (ssh->rportfwds) {
while ((pf = delpos234(ssh->rportfwds, 0)) != NULL)
sfree(pf);
freetree234(ssh->rportfwds);
}
if (ssh->rportfwds) {
while ((pf = delpos234(ssh->rportfwds, 0)) != NULL)
sfree(pf);
freetree234(ssh->rportfwds);
+ ssh->rportfwds = NULL;
}
sfree(ssh->deferred_send_data);
if (ssh->x11auth)
}
sfree(ssh->deferred_send_data);
if (ssh->x11auth)