summaryrefslogtreecommitdiff
path: root/myisam/myisamchk.c
diff options
context:
space:
mode:
Diffstat (limited to 'myisam/myisamchk.c')
-rw-r--r--myisam/myisamchk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/myisam/myisamchk.c b/myisam/myisamchk.c
index ca4e430d49b..281cb90d9bf 100644
--- a/myisam/myisamchk.c
+++ b/myisam/myisamchk.c
@@ -134,6 +134,7 @@ int main(int argc, char **argv)
llstr(check_param.total_deleted,buff2));
}
free_defaults(default_argv);
+ free_tmpdir(&myisamchk_tmpdir);
ft_free_stopwords();
my_end(check_param.testflag & T_INFO ? MY_CHECK_ERROR | MY_GIVE_INFO : MY_CHECK_ERROR);
exit(error);
@@ -1638,7 +1639,7 @@ err:
volatile bool *killed_ptr(MI_CHECK *param)
{
- return (bool *)(param->thd); /* always NULL */
+ return (bool *)(& param->thd); /* always NULL */
}
/* print warnings and errors */