mirror of https://codeberg.org/nsxiv/nsxiv
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.pull/139/head
parent
bbebd45ce6
commit
1f01c670c5
Loading…
Reference in New Issue