Question about hashtables in jcf-io.c
Mohan Embar
gnustuff@thisiscool.com
Sun Mar 16 06:31:00 GMT 2003
Hi,
There are two static hashtables in jcf-io.c: memoized_dirlists
and memoized_class_lookups. I see the htab_create calls for
these, but not any htab_delete calls. Are these hidden somewhere
that I'm missing? If not, are they not there on purpose? (The
only rationale I can think of for not having these is that it
is assumed that they will live throughout the pcocess' lifetime,
but I still thought it was good practice to clean things up
explicitly.)
The same question applies to the namelists malloc-ed by scandir().
Thanks in advance for helping me understand this.
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/
More information about the Java
mailing list