summaryrefslogtreecommitdiff
path: root/sql/ha_federated.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/ha_federated.cc')
-rw-r--r--sql/ha_federated.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_federated.cc b/sql/ha_federated.cc
index 6d5c5b48ab6..08bfb6f2be7 100644
--- a/sql/ha_federated.cc
+++ b/sql/ha_federated.cc
@@ -1378,7 +1378,7 @@ static int free_share(FEDERATED_SHARE *share)
if (!--share->use_count)
{
hash_delete(&federated_open_tables, (byte*) share);
- my_free((gptr) share->scheme, MYF(MY_ALLOW_ZERO_PTR0));
+ my_free((gptr) share->scheme, MYF(MY_ALLOW_ZERO_PTR));
share->scheme= 0;
thr_lock_delete(&share->lock);
VOID(pthread_mutex_destroy(&share->mutex));