summaryrefslogtreecommitdiff
path: root/myisam/mi_close.c
diff options
context:
space:
mode:
authorunknown <serg@sergbook.mysql.com>2002-07-14 13:51:03 +0200
committerunknown <serg@sergbook.mysql.com>2002-07-14 13:51:03 +0200
commitd8093cf6ff17e146e33e91ba16f46992859a5cc9 (patch)
tree2226fafc5c59c90673606fdbec9b7fb6bad5fab8 /myisam/mi_close.c
parent9a1ff13ea4a494d90b505b6d6e7b288d7390b5d0 (diff)
downloadmariadb-git-d8093cf6ff17e146e33e91ba16f46992859a5cc9.tar.gz
yet another generalization for rec_buff handling, MI_INFO doesn't need rec_alloc anymore
myisam/mi_close.c: yet another generalization for rec_buff handling myisam/mi_dynrec.c: yet another generalization for rec_buff handling myisam/mi_extra.c: yet another generalization for rec_buff handling myisam/mi_open.c: yet another generalization for rec_buff handling myisam/myisamdef.h: yet another generalization for rec_buff handling
Diffstat (limited to 'myisam/mi_close.c')
-rw-r--r--myisam/mi_close.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_close.c b/myisam/mi_close.c
index 7197d0ba069..5250acf1375 100644
--- a/myisam/mi_close.c
+++ b/myisam/mi_close.c
@@ -101,7 +101,7 @@ int mi_close(register MI_INFO *info)
error = my_errno;
myisam_log_command(MI_LOG_CLOSE,info,NULL,0,error);
- my_free((gptr) info->rec_alloc,MYF(MY_ALLOW_ZERO_PTR));
+ my_free(mi_get_rec_buff_ptr(info, info->rec_buff), MYF(MY_ALLOW_ZERO_PTR));
my_free((gptr) info,MYF(0));
if (error)