mirror of
https://github.com/facebook/zstd.git
synced 2025-06-05 00:02:17 +03: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.