i found out that the mcrypt functions/library leak memory (libmcrypt 2.4.5) with PHP 4.0.2 (on Solaris 2.6) and Apache 1.3.12 (actually, it's Stronghold 3.0). the function that leaks is mcrypt_generic_init(). the PHP manual states that if you call mcrypt_generic_end (), it will clear up the buffer and close the library. however, i found out that the function unfortunately does not dealloc the memory. if someone could confirm this, i'll submit it into the bugs report. remco chang www.bountyquest.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]