]> git.ipfire.org Git - people/ric9/pakfire.git/commitdiff
dist: Release the context after we are done
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 10 Jan 2025 18:48:52 +0000 (18:48 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 10 Jan 2025 18:48:52 +0000 (18:48 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/dist.c

index e390ab3f9587fc9cfe98609b5686576f7a3ef174..d918227218d832dded347f47bab691cea2c50c7d 100644 (file)
@@ -510,6 +510,8 @@ ERROR:
                pakfire_package_unref(pkg);
        if (makefile)
                pakfire_parser_unref(makefile);
+       if (ctx)
+               pakfire_ctx_unref(ctx);
 
        return r;
 }