summaryrefslogtreecommitdiff
path: root/src/lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.c')
-rw-r--r--src/lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.c b/src/lib.c
index cb24fa6..b36015d 100644
--- a/src/lib.c
+++ b/src/lib.c
@@ -90,6 +90,8 @@ stp_cleanup_transcode_client_ctx (TranscodeClientCtx *ctx)
g_print (">>> Doing client cleanup.");
+ g_source_remove (ctx->timeout_handler_id);
+
server_ctx->clients = g_list_remove (server_ctx->clients, ctx);
/* Block sinkpad and srcpad, then unlink and remove */