Commit e413fd4c authored by unknown's avatar unknown

test_charset.c:

  fix: use my_free() instead of free()


mysys/test_charset.c:
  fix: use my_free() instead of free()
parent e4437030
...@@ -48,11 +48,11 @@ int main(int argc, char **argv) { ...@@ -48,11 +48,11 @@ int main(int argc, char **argv) {
cs_list = list_charsets(MYF(MY_COMPILED_SETS | MY_CONFIG_SETS)); cs_list = list_charsets(MYF(MY_COMPILED_SETS | MY_CONFIG_SETS));
printf("LIST OF CHARSETS (compiled + *.conf):\n%s\n", cs_list); 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)); cs_list = list_charsets(MYF(MY_INDEX_SETS | MY_LOADED_SETS));
printf("LIST OF CHARSETS (index + loaded):\n%s\n", cs_list); printf("LIST OF CHARSETS (index + loaded):\n%s\n", cs_list);
free(cs_list); my_free(cs_list,MYF(0));
return 0; return 0;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment