mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Removed some warnings reported by valgrind
After merge fixes. Now code compiles, but there is still some valgrind warnings that needs to be fixed
This commit is contained in:
parent
4e4725377d
commit
f763d4c31d
21 changed files with 150 additions and 126 deletions
|
|
@ -78,6 +78,7 @@ int main(int argc, char **argv) {
|
|||
_print_csinfo(cs);
|
||||
fflush(stdout);
|
||||
|
||||
#define NOT_USED_ANYMORE
|
||||
cs_list = list_charsets(MYF(MY_CS_COMPILED | MY_CS_CONFIG));
|
||||
printf("LIST OF CHARSETS (compiled + *.conf):\n%s\n", cs_list);
|
||||
my_free(cs_list,MYF(0));
|
||||
|
|
@ -85,6 +86,7 @@ int main(int argc, char **argv) {
|
|||
cs_list = list_charsets(MYF(MY_CS_INDEX | MY_CS_LOADED));
|
||||
printf("LIST OF CHARSETS (index + loaded):\n%s\n", cs_list);
|
||||
my_free(cs_list,MYF(0));
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue