What is the proper way of disposing of a form?

Carnage (S566@aacci.aacc.cc.md.us)
Fri, 3 Jan 1997 10:10:30 -0500 (EST)

To subscribers of the xforms list from Carnage <S566@aacci.aacc.cc.md.us> :

Hello XForms Mailing List!,

What would be the proper way of disposing of a form created by the
create_form_xxxx() routines produced by FDesign? (i.e. fd_myform =
create_form_myform() ... how do I dispose of fd_myform when I'm done with
it?) Right now, I just do a "free()" on it. Is that correct?

Should I even be manually disposing of forms created with
create_form_xxxx()? I don't want to have memory being used by forms that
I'm not using at any particular moment in time. Taking a look at the .c
file produced by fdesign, I see it allocates memory for the form via a
"fl_calloc()" routine. I'm thinking there's probably a "fl_free()"
routine as well, and I should be using that instead of "free()". Am I
right?

Thanks in advance for any info on this!

==============================================================================
Arcadio Alivio Sincero, Jr.
Undergraduate Computer Science Major/Linux Enthusiast/Competitive Bodybuilder
email: S566@aacci.aacc.cc.md.us
WWW: Not available yet -- still looking for free webspace!

"Bare feet magnetize sharp metal objects so they point upward from the floor,
especially in the dark."