From: Michael Tremer Date: Fri, 10 Jan 2025 18:48:52 +0000 (+0000) Subject: dist: Release the context after we are done X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5068df699d889dee19db9683310220fcf44f2161;p=people%2Fric9%2Fpakfire.git dist: Release the context after we are done Signed-off-by: Michael Tremer --- diff --git a/src/pakfire/dist.c b/src/pakfire/dist.c index e390ab3f9..d91822721 100644 --- a/src/pakfire/dist.c +++ b/src/pakfire/dist.c @@ -510,6 +510,8 @@ ERROR: pakfire_package_unref(pkg); if (makefile) pakfire_parser_unref(makefile); + if (ctx) + pakfire_ctx_unref(ctx); return r; }