From: Michael Tremer Date: Sat, 22 Feb 2025 16:12:34 +0000 (+0000) Subject: jail: Free the timeout timer X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=047fb1258a4b55aa29a42f1de7e4623687be3205;p=pakfire.git jail: Free the timeout timer Signed-off-by: Michael Tremer --- diff --git a/src/pakfire/jail.c b/src/pakfire/jail.c index 89530d41..e990a68f 100644 --- a/src/pakfire/jail.c +++ b/src/pakfire/jail.c @@ -1578,6 +1578,8 @@ ERROR: pakfire_log_stream_unref(ctx.log.DEBUG); #endif /* ENABLE_DEBUG */ + if (ctx.timeout) + sd_event_source_unref(ctx.timeout); if (ctx.loop) sd_event_unref(ctx.loop);