hwhw/kindlepdfviewer — pull request #426 by tigran123 (2012-10-11 21:37:00+00:00)
Title: Free raw_image if it is unsupported.

If the number of colour components is neither 1 nor 3 we should remember to free the buffer holding the raw decoded image before returning the error to Lua.