272316 Fix resource leaks on zstd open error paths

1 file Authored by Panu Matilainen 4 years ago, Committed by ttomecek 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