aboutsummaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorN-R-K <79544946+N-R-K@users.noreply.github.com>2021-10-26 19:41:11 +0200
committerGitHub <noreply@github.com>2021-10-26 19:41:11 +0200
commit1f01c670c5fac1829e46ed8bc6b033e3680e645f (patch)
tree43b40a97eb1f0779f8ea54ada1eac22604fc9947 /config.def.h
parentbbebd45ce614fc0297ed53bcda04a49a0cb292b6 (diff)
downloadnsxiv-1f01c670c5fac1829e46ed8bc6b033e3680e645f.tar.zst
fix: memory leak in img_load_webp (#135)
if `multi.cap` is >0 that means `multi.frames` has already been malloc-ed. by unconditionally malloc-ing again, we're losing all the old memory. this makes it so we're only malloc-ing (or realloc-ing) when needed.
Diffstat (limited to 'config.def.h')
0 files changed, 0 insertions, 0 deletions