Hi,
win\iupwin_image.c (line 887)

handle is freed at line 872, and is passed to function cb if has 
IMAGEDESTROY_CB.
function cb they have no way of knowing that the pointer is invalid!

Wouldn't it be better to call cb first, and then release the pointer?

regards,
Ranier Vilela

_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to