Hi Scuri, I did not understand your answer, for me still with error. Do you mean that IupGetCallback (tree, "SELECTION_CB"); always return different than NULL in that context?
regards, Ranier Vilela ________________________________________ De: Antonio Scuri <antonio.sc...@gmail.com> Enviado: quarta-feira, 15 de janeiro de 2020 13:18 Para: IUP discussion list. Assunto: Re: [Iup-users] IUP-TRUNK dereference null return (src\iup_layoutdlg.c) Hi, It is true, but not in that context. There SELECTION_CB must be defined. Best, Scuri Em qua., 15 de jan. de 2020 às 09:39, Ranier Vilela <ranier_...@hotmail.com<mailto:ranier_...@hotmail.com>> escreveu: Hi, IupGetCallback function can return NULL, therefore it is necessary to check the return. best regards, Ranier Vilela_______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net<mailto:Iup-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/iup-users _______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users