summaryrefslogtreecommitdiff
path: root/storage/heap/hp_rename.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/heap/hp_rename.c')
-rw-r--r--storage/heap/hp_rename.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/heap/hp_rename.c b/storage/heap/hp_rename.c
index c4e8390cc43..cf0d2b2b387 100644
--- a/storage/heap/hp_rename.c
+++ b/storage/heap/hp_rename.c
@@ -33,7 +33,7 @@ int heap_rename(const char *old_name, const char *new_name)
mysql_mutex_unlock(&THR_LOCK_heap);
DBUG_RETURN(my_errno);
}
- my_free(info->name,MYF(0));
+ my_free(info->name);
info->name=name_buff;
}
mysql_mutex_unlock(&THR_LOCK_heap);