You don't need to delete You don't need to delete LibRawProcessor (if you plan to process another image). There are two calls: LibRaw::free_image() - frees image[] array. You may call raw2image() again and you'll get another image[] allocated. LibRaw::recycle() - frees all allocated data for file (it will be called automatically on next open_file()) -- Alex Tutubalin @LibRaw LLC reply
You don't need to delete LibRawProcessor (if you plan to process another image).
There are two calls:
LibRaw::free_image() - frees image[] array. You may call raw2image() again and you'll get another image[] allocated.
LibRaw::recycle() - frees all allocated data for file (it will be called automatically on next open_file())