summaryrefslogtreecommitdiff
path: root/storage/heap/hp_close.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/heap/hp_close.c')
-rw-r--r--storage/heap/hp_close.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/heap/hp_close.c b/storage/heap/hp_close.c
index 49d8ec376bb..e5a826423db 100644
--- a/storage/heap/hp_close.c
+++ b/storage/heap/hp_close.c
@@ -46,6 +46,6 @@ int hp_close(register HP_INFO *info)
heap_open_list=list_delete(heap_open_list,&info->open_list);
if (!--info->s->open_count && info->s->delete_on_close)
hp_free(info->s); /* Table was deleted */
- my_free((uchar*) info,MYF(0));
+ my_free(info);
DBUG_RETURN(error);
}