Hey Vmailers,
I was wondering why my authdaemond was suddenly taking up more than
100mb memory PER INSTANCE. I found a small memory leak in
vmysql.c:1529
if (!(res_read = mysql_store_result(mysql_read)))
{
fprintf(stderr, vmysql: store result failed 7\n);
return -1;
}
if
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