Anton Zakatov wrote: > > Paul and Leif, in functions convert_8bit_field_to_utf8 and > convert_8bit_db_to_mime all staic variable init only once on first call. > If you release memory of iconv struct and not set it value to > (iconv_t)-1 we get segfault on next call function. > THIS IS NOT MEMORY LEAK!
Anton, That's why I've remove all g_mime_iconv_close calls for now. I was getting segfaults all over the place on g_mime_shutdown that all led to the g_mime_iconv_close calls. I guess I was a bit tired, and running out of patience with debugging and fixing half-tested patches and BOFH mode kicked in :-( I'm always happy to accept patches and I definitely don't want to discourage anyone from helping out on the code. It's just that I sometimes stop being so happy after running 'make check' or 'python test-scripts/testimap.py'... -- ________________________________________________________________ Paul Stevens paul at nfg.nl NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31 The Netherlands________________________________http://www.nfg.nl _______________________________________________ Dbmail-dev mailing list [email protected] http://twister.fastxs.net/mailman/listinfo/dbmail-dev
