Skip to content

Commit

Permalink
Merge pull request percona#507 from laurynas-biveinis/bug1580993-5.6
Browse files Browse the repository at this point in the history
Bug1580993 5.6
  • Loading branch information
laurynas-biveinis committed May 16, 2016
2 parents e300d8d + e4a73af commit 3fa45a8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sql/gen_lex_hash.cc
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ void print_find_structs()
set_links(root_by_len,max_len);
print_hash_map("sql_functions_map");

free(hash_map);
hash_map= 0;
size_hash_map= 0;

Expand All @@ -319,6 +320,10 @@ void print_find_structs()
add_structs_to_map(root_by_len2,max_len2);
set_links(root_by_len2,max_len2);
print_hash_map("symbols_map");

free(hash_map);
hash_map= 0;
size_hash_map= 0;
}

int check_dup_symbols(SYMBOL *s1, SYMBOL *s2)
Expand Down

0 comments on commit 3fa45a8

Please sign in to comment.