Commit c5d7036e authored by Sisi Huang's avatar Sisi Huang Committed by Daniel Black

MDEV-32942 Fix Memory Leak in my_print_defaults with Non-Existing Config Files

parent 4eca64e3
......@@ -183,6 +183,7 @@ int main(int argc, char **argv)
if ((error= load_defaults(config_file, (const char **) load_default_groups,
&count, &arguments)))
{
my_free(load_default_groups);
my_end(0);
if (error == 4)
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