Skip to content

Commit

Permalink
Clear fingerprints and sample queries on exit
Browse files Browse the repository at this point in the history
Signed-off-by: Salil Chandra <[email protected]>
  • Loading branch information
chands10 committed May 7, 2024
1 parent c848a9f commit c8bfaa1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions db/comdb2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1581,6 +1581,8 @@ static void finish_clean()
free_tzdir();
tz_hash_free();
clear_sqlhist();
clear_fingerprints(NULL);
clear_sample_queries();
thd_cleanup();
if(!all_string_references_cleared() && gbl_abort_on_dangling_stringrefs)
abort();
Expand Down Expand Up @@ -1751,6 +1753,8 @@ void clean_exit(void)
free_tzdir();
tz_hash_free();
clear_sqlhist();
clear_fingerprints(NULL);
clear_sample_queries();
if (!all_string_references_cleared() && gbl_abort_on_dangling_stringrefs)
abort();

Expand Down

0 comments on commit c8bfaa1

Please sign in to comment.