[Rpm-maint] [rpm-software-management/rpm] Avoid Python reference leak in rpmfiles_archive (PR #3778)

Michal Domonkos notifications at github.com
Tue Jun 3 08:19:14 UTC 2025


dmnks left a comment (rpm-software-management/rpm#3778)

It seems like the [`rpmarchive_readto()`](https://github.com/rpm-software-management/rpm/blob/9f251cc41946b86bf8984202b63417927768acd1/python/rpmarchive-py.c#L128) and [`rpmarchive_writeto()`](https://github.com/rpm-software-management/rpm/blob/9f251cc41946b86bf8984202b63417927768acd1/python/rpmarchive-py.c#L154) functions have the same kind of leak. Would you be willing to fix those, too, while we're at it?

Otherwise, LGTM.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3778#issuecomment-2934078993
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3778/c2934078993 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250603/6a1004dd/attachment.htm>


More information about the Rpm-maint mailing list