[Rpm-maint] [rpm-software-management/rpm] Free old cookie value to prevent a memory leak (PR #3095)

Florian Festi notifications at github.com
Mon May 13 13:47:04 UTC 2024


This keeps the old behaviour of overriding the cookie. This may not me correct as the code looks like it reads the cookie from the srpm when doing rpmbuild --rebuild for the purpose of preserving it. Otoh the current behaviour with overriding it even in this case has been around for years. This whole cookie business seems to have some other issues, too, and needs further investigation. Here we are only trying to fix the memory leak.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/3095

-- Commit Summary --

  * Free old cookie value to prevent a memory leak

-- File Changes --

    M build/pack.c (1)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/3095.patch
https://github.com/rpm-software-management/rpm/pull/3095.diff

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

Message ID: <rpm-software-management/rpm/pull/3095 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240513/64cab763/attachment.html>


More information about the Rpm-maint mailing list