plan for new Fl_RGB_Image has own allocated flag.
rageworx opened this issue · comments
Occording reference Fl_RGB_Image() constructor ( https://www.fltk.org/doc-1.3/classFl__RGB__Image.html ),
Fl_RGB_Image don't own referenced uchar buffer for own memory.
But it should set 'alloc_array' to 1 for deallocating memory from own array buffer when destruct class.
apprehend issue:
compatibility issue may occurs by using discard_user_rgb_image() API in the past.
Included feature for 'FLIMGTK_IMGBUFF_OWNALLOC' flag in fl_imgtk.cpp since commit of version 0.3.37.12.