csomh / source-git / rpm

Forked from source-git/rpm 4 years ago
Clone

e692e0 Fix resource leaks on zstd open error paths

1 file Authored by Panu Matilainen 4 years ago, Committed by Hunor Csomortáni 4 years ago,
1 file changed. 10 lines added. 2 lines removed.
    Fix resource leaks on zstd open error paths
    
    If zstd stream initialization fails, the opened fd and the stream
    itself are leaked. Handle error exit in a central label.
    
        
file modified
+10 -2