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

@@ -515,7 +515,7 @@ int init_file_hash(void)
{
lf_hash_init(&filename_hash, sizeof(PFS_file*), LF_HASH_UNIQUE,
0, 0, filename_hash_get_key, &my_charset_bin);
filename_hash.size= file_max;
/* filename_hash.size= file_max; */
filename_hash_inited= true;
}
DBUG_RETURN(0);