Skip to content

Commit

Permalink
aria_read_log: silence expected safemalloc warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
vuvova committed Dec 19, 2015
1 parent 97d2c9b commit 8d34a29
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions storage/maria/maria_read_log.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ int main(int argc, char **argv)
MY_INIT(argv[0]);

maria_data_root= (char *)".";
sf_leaking_memory=1; /* don't report memory leaks on early exits */
load_defaults("my", load_default_groups, &argc, &argv);
default_argv= argv;
get_options(&argc, &argv);
Expand Down Expand Up @@ -151,6 +152,7 @@ int main(int argc, char **argv)
free_tmpdir(&maria_chk_tmpdir);
free_defaults(default_argv);
my_end(0);
sf_leaking_memory=0;
exit(0);
return 0; /* No compiler warning */

Expand Down

0 comments on commit 8d34a29

Please sign in to comment.