summaryrefslogtreecommitdiff
path: root/sql/derror.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/derror.cc')
-rw-r--r--sql/derror.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/derror.cc b/sql/derror.cc
index abe642bea79..74e8209496b 100644
--- a/sql/derror.cc
+++ b/sql/derror.cc
@@ -76,7 +76,7 @@ bool init_errmessage(void)
&errmsgs, ER_ERROR_LAST - ER_ERROR_FIRST + 1) &&
!errmsgs)
{
- free(errmsgs);
+ my_free(errmsgs);
if (org_errmsgs)
{
@@ -99,7 +99,7 @@ bool init_errmessage(void)
}
}
else
- free(org_errmsgs); // Free old language
+ my_free(org_errmsgs); // Free old language
/* Register messages for use with my_error(). */
if (my_error_register(get_server_errmsgs, ER_ERROR_FIRST, ER_ERROR_LAST))