Commit dfc8b3ae authored by unknown's avatar unknown

Remove redundant my_security_attr_free() from

handle_connections_shared_memory (double free spotted by Monty).


sql/mysqld.cc:
  Remove excessive my_security_attr_free()
parent 9b6d32d6
...@@ -3990,8 +3990,6 @@ pthread_handler_decl(handle_connections_shared_memory,arg) ...@@ -3990,8 +3990,6 @@ pthread_handler_decl(handle_connections_shared_memory,arg)
NullS); NullS);
sql_perror(buff); sql_perror(buff);
} }
my_security_attr_free(sa_event);
my_security_attr_free(sa_mapping);
if (handle_client_file_map) if (handle_client_file_map)
CloseHandle(handle_client_file_map); CloseHandle(handle_client_file_map);
if (handle_client_map) if (handle_client_map)
......
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