mirror of
https://github.com/facebook/zstd.git
synced 2025-10-04 00:02:33 -04:00
In main, resources were freed on the success path but not in the error path. This change ensures all allocated resources are released before returning.