Angus Leeming <[EMAIL PROTECTED]> writes: | You're trying to delete the same object twice. | | void FormSplash::build() | { | dialog_ = build_splash(); | } | | | FD_form_splash * FormSplash::build_splash() | { | FD_form_splash *fdui = new FD_form_splash; | fdui->form->u_vdata = this; | | return fdui; | } | | FormSplash::~FormSplash() | { | delete dialog_; | } | | void FormSplash::CloseCB(FL_OBJECT * ob) | { | FormSplash * pre = static_cast<FormSplash*>(ob->form->u_vdata); | delete pre; | } If you could set dialog_ to 0 you should be safe. Lgb
- Re: [PATCH] xforms small changes John Levon
- Re: [PATCH] xforms small cha... Angus Leeming
- Re: [PATCH] xforms small cha... John Levon
- Re: [PATCH] xforms small cha... Allan Rae
- Re: [PATCH] xforms small cha... John Levon
- Re: [PATCH] xforms small changes John Levon
- Re: [PATCH] xforms small changes Angus Leeming
- Re: [PATCH] xforms small changes John Levon
- Re: [PATCH] xforms small cha... Angus Leeming
- Re: [PATCH] xforms small cha... John Levon
- Re: [PATCH] xforms small cha... Lars Gullik Bjønnes
- Re: [PATCH] xforms small changes Lars Gullik Bjønnes
- Re: [PATCH] xforms small changes Angus Leeming