summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--relay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/relay.c b/relay.c
index 0540bd8..6195349 100644
--- 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);