From 047fb1258a4b55aa29a42f1de7e4623687be3205 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 22 Feb 2025 16:12:34 +0000 Subject: [PATCH] jail: Free the timeout timer Signed-off-by: Michael Tremer --- src/pakfire/jail.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.39.5