Dolda2000 GitWeb
/
doldaconnect.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Close UI sockets immediately from freeuidata.
[doldaconnect.git]
/
daemon
/
ui.c
diff --git
a/daemon/ui.c
b/daemon/ui.c
index
9604a93
..
21f387e
100644
(file)
--- a/
daemon/ui.c
+++ b/
daemon/ui.c
@@
-1548,6
+1548,7
@@
static void freeuidata(struct uidata *data)
actives = data->next;
data->sk->readcb = NULL;
data->sk->errcb = NULL;
actives = data->next;
data->sk->readcb = NULL;
data->sk->errcb = NULL;
+ closesock(data->sk);
putsock(data->sk);
while((qcmd = unlinkqcmd(data)) != NULL)
freequeuecmd(qcmd);
putsock(data->sk);
while((qcmd = unlinkqcmd(data)) != NULL)
freequeuecmd(qcmd);