Commit 8be02be0 authored by FaramosCZ's avatar FaramosCZ Committed by Sergey Vojtovich

Fix USE_AFTER_FREE (CWE-672)

The file will be closed on line 540
parent 8c493a91
......@@ -506,7 +506,6 @@ void wsrep_dump_rbr_buf_with_header(THD *thd, const void *rbr_buf,
if (init_io_cache(&cache, file, 0, WRITE_CACHE, 0, 0, MYF(MY_WME | MY_NABP)))
{
mysql_file_close(file, MYF(MY_WME));
goto cleanup2;
}
......
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