pixiv / go-libjpeg

An implementation of Go binding for libjpeg (or libjpeg-turbo).
BSD 3-Clause "New" or "Revised" License
156 stars 52 forks source link

Memory leak #27

Closed thinxer closed 8 years ago

thinxer commented 8 years ago

Both compress.go and decompress.go leak memory. The cinfo structs are malloced in new_decompress but never freeed in destroy_decompress.

harukasan commented 8 years ago

Thank you for your reporting.