summaryrefslogtreecommitdiff
path: root/extra/comp_err.c
diff options
context:
space:
mode:
Diffstat (limited to 'extra/comp_err.c')
-rw-r--r--extra/comp_err.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/comp_err.c b/extra/comp_err.c
index 24ec8974d03..5ae5d29994b 100644
--- a/extra/comp_err.c
+++ b/extra/comp_err.c
@@ -402,7 +402,7 @@ static void clean_up(struct languages *lang_head, struct errors *error_head)
my_free((uchar*) tmp_error->sql_code1, MYF(0));
if (tmp_error->sql_code2[0])
my_free((uchar*) tmp_error->sql_code2, MYF(0));
- my_free((uchar*) tmp_error->er_name, MYF(0));
+ my_free((uchar*) tmp_error->er_name, MYF(MY_ALLOW_ZERO_PTR));
my_free((uchar*) tmp_error, MYF(0));
}
}