> I know that I call fl_free_form() to restore the storage that a form was
> using to the heap but is the following sequence okay for forms created
> with fdesign?
>
> FD_foobarbaz * fd_foobarbaz = create_form_foobarbaz();
>
> /* forms interaction here */
>
> fl_hide_form(fd_foobarbaz->foobarbaz);
> fl_free_form(fd_foobarbaz->foobarbaz);
>
> free(fd_foobarbaz);
>
> or is there something more efficient?
That's it. To be absolutely kosher, you should probably do
fl_free( fd_foobarbaz );
but since fl_free is really just a macro invocation of the standard
free() at the moment, it's okay.
spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bloch.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/