summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authorunknown <ram@mysql.r18.ru>2003-04-01 15:33:09 +0500
committerunknown <ram@mysql.r18.ru>2003-04-01 15:33:09 +0500
commitc53e108deac5b5aefef99c3afe776d6716b4205f (patch)
treed78f86715224c1e759398c157f4f548dc74ced06 /myisam
parent64a5ca1c8891968bee33da48c18719e344b184ac (diff)
downloadmariadb-git-c53e108deac5b5aefef99c3afe776d6716b4205f.tar.gz
Bug fix: should use my_free() instead of my_afree() after my_multi_malloc().
Diffstat (limited to 'myisam')
-rw-r--r--myisam/rt_split.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/rt_split.c b/myisam/rt_split.c
index 9ab26c78171..72a3c4887ab 100644
--- a/myisam/rt_split.c
+++ b/myisam/rt_split.c
@@ -340,6 +340,6 @@ int rtree_split_page(MI_INFO *info, MI_KEYDEF *keyinfo, uchar *page, uchar *key,
my_afree((byte*)new_page);
split_err:
- my_afree((byte*)coord_buf);
+ my_free((gptr) coord_buf, MYF(0));
return err_code;
}