1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Fixed memory leaks. alias.test now runs clean with valgrind

This commit is contained in:
Michael Widenius
2013-06-20 14:49:25 +03:00
parent f62f4bd563
commit c46ce32cfb
11 changed files with 13 additions and 12 deletions

View File

@@ -150,7 +150,7 @@ int init_user_hash(void)
{
lf_hash_init(&user_hash, sizeof(PFS_user*), LF_HASH_UNIQUE,
0, 0, user_hash_get_key, &my_charset_bin);
user_hash.size= user_max;
/* user_hash.size= user_max; */
user_hash_inited= true;
}
return 0;