On Sep 10, 2006, at 5:43 AM, Tijs Zwinkels wrote:
The problem is that, if (mysql_num_rows(res_read) == 0, the function
inmediately returns without freeing res_read.

I attached a little patch that corrects the issue. (simply adds a
mysql_free_result(res_read); )

Thanks a lot.  I'll make sure this gets into the next release.

--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/


Reply via email to