]> git.ipfire.org Git - thirdparty/zstd.git/commit
Release resources before returning 4401/head
authorjinyaoguo <guo846@purdue.edu>
Tue, 3 Jun 2025 19:28:11 +0000 (15:28 -0400)
committerjinyaoguo <guo846@purdue.edu>
Tue, 3 Jun 2025 19:28:11 +0000 (15:28 -0400)
commitdd4cee9190cce231f56bc4f318e71f6b69270993
treed6cad9ba33b105c13f1c601dcb5c1bae729215ac
parentf9938c217da17ec3e9dcd2a2d99c5cf39536aeb9
Release resources before returning

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.
contrib/externalSequenceProducer/main.c