I do not understand your I do not understand your question. If dcraw_make_mem_image() fails, it will return NULL. Also, if you pass NULL to dcraw_clear_mem, it will do nothing. So, what is the *real* problem? -- Alex Tutubalin @LibRaw LLC reply
I do not understand your question.
If dcraw_make_mem_image() fails, it will return NULL.
Also, if you pass NULL to dcraw_clear_mem, it will do nothing.
So, what is the *real* problem?