]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
fs: fix memory leak when zlib's inflateInit fails (#245)
authorAlibek Omarov <a1ba.omarov@gmail.com>
Sat, 26 Apr 2025 16:10:56 +0000 (19:10 +0300)
committerGitHub <noreply@github.com>
Sat, 26 Apr 2025 16:10:56 +0000 (12:10 -0400)
commit0c1630097ccb41fc63fd3c09d32be5e8d67a7913
tree4649e16a16faf41526e5abfa78e078f0f95c5a3b
parent0435530735836f65cb6c9c2ddb271e35813a17df
fs: fix memory leak when zlib's inflateInit fails (#245)

`ztk` gets allocated few lines before, but not deallocated in case of an
error.
fs.c