A fix for double free of memory in mysqlbinlog.

parent 1c1ac1fd
......@@ -938,7 +938,7 @@ int main(int argc, char** argv)
{
if (init_tmpdir(&tmpdir, 0))
exit(1);
dirname_for_local_load= my_tmpdir(&tmpdir);
dirname_for_local_load= my_strdup(my_tmpdir(&tmpdir),MY_WME);
}
if (load_processor.init())
......
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