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.
This commit is contained in:
1 parent
74a60eeea2
commit
01ce094adb
1 file changed
+3
-1
Reference in new issue
Block a user