]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
reverted the addition of free at the gz_init()
authorAlex Murkoff <413x1nkp@gmail.com>
Sat, 13 Apr 2024 05:51:20 +0000 (12:51 +0700)
committerAlex Murkoff <413x1nkp@gmail.com>
Sat, 13 Apr 2024 05:51:20 +0000 (12:51 +0700)
zlibWrapper/gzwrite.c

index 0a89c8d75caa9272018bae4d10e3c5c7bbd348f1..85b776a94f784c0dc08e47432e5842bc3febb336 100644 (file)
@@ -65,7 +65,6 @@ local int gz_init(gz_statep state) {
         state.state->x.next = strm->next_out;
     }
 
-    free(state.state);
     return 0;
 }