mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
A fix for double free of memory in mysqlbinlog.
This commit is contained in:
@@ -938,7 +938,7 @@ int main(int argc, char** argv)
|
|||||||
{
|
{
|
||||||
if (init_tmpdir(&tmpdir, 0))
|
if (init_tmpdir(&tmpdir, 0))
|
||||||
exit(1);
|
exit(1);
|
||||||
dirname_for_local_load= my_tmpdir(&tmpdir);
|
dirname_for_local_load= my_strdup(my_tmpdir(&tmpdir),MY_WME);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (load_processor.init())
|
if (load_processor.init())
|
||||||
|
Reference in New Issue
Block a user