mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
sql_class: incorrect assignment in Security_context::destroy
Found by Coverity (id 971843). Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
This commit is contained in:
committed by
Sergey Vojtovich
parent
89b81a9a24
commit
23ac2dd2a4
@ -3670,7 +3670,7 @@ void Security_context::destroy()
|
||||
if (external_user)
|
||||
{
|
||||
my_free(external_user);
|
||||
user= NULL;
|
||||
external_user= NULL;
|
||||
}
|
||||
|
||||
my_free(ip);
|
||||
|
Reference in New Issue
Block a user