Commit dfc8b3ae authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -3990,8 +3990,6 @@ pthread_handler_decl(handle_connections_shared_memory,arg)
	      NullS);
      sql_perror(buff);
    }
    my_security_attr_free(sa_event);
    my_security_attr_free(sa_mapping);
    if (handle_client_file_map) 
      CloseHandle(handle_client_file_map);
    if (handle_client_map)