Hi,

       There is a big source of memory leaks in htdig3. When using
config["foo"] the returned string is malloc'ed from ParsedString and
never deallocated (should be a = config["foo"]; fct(a); free(a)) but
it's never the case of course (fct(config["foo"])).  

       I'm fixing this all over the code, using String instead of
char* as a return value of Configuration::operator[] and ::Find, if
you have remarks let me know.

-- 
                Loic Dachary

                ECILA
                100 av. du Gal Leclerc
                93500 Pantin - France
                Tel: 33 1 56 96 09 80, Fax: 33 1 56 96 09 61
                e-mail: [EMAIL PROTECTED] URL: http://www.senga.org/


------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.

Reply via email to