[Rpm-maint] [rpm-software-management/rpm] fix some resource leaks when running rpmbuild or rpm2cpio (PR #2293)

Panu Matilainen notifications at github.com
Fri Nov 25 09:41:42 UTC 2022


> "emsg" is leaked in some cases when running rpmbuild, because "emsg"
may be alloced and be set when checkDep returns RPMRC_OK.

If emsg is allocated when checkDep() returns without an error, then *that* should be fixed instead I think. What's the case where that happens, I didn't see anything immediately obvious there?

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

Message ID: <rpm-software-management/rpm/pull/2293/c1327220912 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20221125/f1b5cb75/attachment.html>


More information about the Rpm-maint mailing list