From: Alex Murkoff <413x1nkp@gmail.com> Date: Sat, 13 Apr 2024 05:51:20 +0000 (+0700) Subject: reverted the addition of free at the gz_init() X-Git-Tag: v1.5.7^2~127^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75d0f66c879451e20f62f07162a38af2b314262a;p=thirdparty%2Fzstd.git reverted the addition of free at the gz_init() --- diff --git a/zlibWrapper/gzwrite.c b/zlibWrapper/gzwrite.c index 0a89c8d75..85b776a94 100644 --- a/zlibWrapper/gzwrite.c +++ b/zlibWrapper/gzwrite.c @@ -65,7 +65,6 @@ local int gz_init(gz_statep state) { state.state->x.next = strm->next_out; } - free(state.state); return 0; }