lazywei/go-opencv — pull request #21 by egonSchiele (2014-10-14 22:43:21+00:00)
Title: Stop DecodeImageMem memory leak

The `DecodeImageMem` function creates a header. This header needs to be freed before the return the image. The header wasn't being freed, so this function had a memory leak.