[Rpm-maint] [rpm-software-management/rpm] Fix resource leaks on zstd open error paths (#945)

Panu Matilainen notifications at github.com
Thu Nov 21 10:24:57 UTC 2019


If zstd stream initialization fails, the opened fd and the stream
itself are leaked. Handle error exit in a central label.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Fix resource leaks on zstd open error paths

-- File Changes --

    M rpmio/rpmio.c (12)

-- Patch Links --

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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/945
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20191121/e192bf78/attachment.html>


More information about the Rpm-maint mailing list