wernsey / bitmap

A C module for manipulating bitmap/raster graphics
MIT No Attribution
70 stars 12 forks source link

gif.c: fix leaks in lzw encode/decode #6

Closed chatziko closed 4 years ago

chatziko commented 4 years ago

Unless I missed something, some frees were missing.

wernsey commented 4 years ago

Thanks, well spotted.

I see the GIF encoder/decoder in bmp.c had the same leak, so I fixed it there as well