Skip to content

Commit 23ac2dd

Browse files
grooverdansvoj
authored andcommitted
sql_class: incorrect assignment in Security_context::destroy
Found by Coverity (id 971843). Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
1 parent 89b81a9 commit 23ac2dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/sql_class.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3670,7 +3670,7 @@ void Security_context::destroy()
36703670
if (external_user)
36713671
{
36723672
my_free(external_user);
3673-
user= NULL;
3673+
external_user= NULL;
36743674
}
36753675

36763676
my_free(ip);

0 commit comments

Comments
 (0)