projects
/
oweals
/
uhttpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18ce3a6
)
relay: cancel the timeout on free
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 1 Jun 2013 21:43:04 +0000
(23:43 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 1 Jun 2013 21:43:07 +0000
(23:43 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
relay.c
patch
|
blob
|
history
diff --git
a/relay.c
b/relay.c
index 0540bd8e58d29d118293fc466becd8db6260b0be..619534970c7c5b948031b877a50e52aa7138b103 100644
(file)
--- a/
relay.c
+++ b/
relay.c
@@
-28,6
+28,7
@@
void uh_relay_free(struct relay *r)
if (r->proc.pending)
kill(r->proc.pid, SIGKILL);
+ uloop_timeout_cancel(&r->timeout);
uloop_process_delete(&r->proc);
ustream_free(&r->sfd.stream);
close(r->sfd.fd.fd);