From 23ac2dd2a4c5f281479980d0156a2ccebab510b2 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Tue, 4 Jul 2017 13:28:47 +1000 Subject: sql_class: incorrect assignment in Security_context::destroy Found by Coverity (id 971843). Signed-off-by: Daniel Black --- sql/sql_class.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_class.cc') diff --git a/sql/sql_class.cc b/sql/sql_class.cc index 3c07c1606a2..00d860e7887 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -3670,7 +3670,7 @@ void Security_context::destroy() if (external_user) { my_free(external_user); - user= NULL; + external_user= NULL; } my_free(ip); -- cgit v1.2.1