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:
Daniel Black 2017-07-04 13:28:47 +10:00 committed by Sergey Vojtovich
commit 23ac2dd2a4

View file

@ -3670,7 +3670,7 @@ void Security_context::destroy()
if (external_user)
{
my_free(external_user);
user= NULL;
external_user= NULL;
}
my_free(ip);