summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mysys/test_charset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/test_charset.c b/mysys/test_charset.c
index 15e46f3ff82..224a4120614 100644
--- a/mysys/test_charset.c
+++ b/mysys/test_charset.c
@@ -48,11 +48,11 @@ int main(int argc, char **argv) {
cs_list = list_charsets(MYF(MY_COMPILED_SETS | MY_CONFIG_SETS));
printf("LIST OF CHARSETS (compiled + *.conf):\n%s\n", cs_list);
- free(cs_list);
+ my_free(cs_list,MYF(0));
cs_list = list_charsets(MYF(MY_INDEX_SETS | MY_LOADED_SETS));
printf("LIST OF CHARSETS (index + loaded):\n%s\n", cs_list);
- free(cs_list);
+ my_free(cs_list,MYF(0));
return 0;
}