diff options
author | Daniel Black <daniel.black@au.ibm.com> | 2017-07-04 13:28:47 +1000 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2017-07-04 10:26:29 +0400 |
commit | 23ac2dd2a4c5f281479980d0156a2ccebab510b2 (patch) | |
tree | 7f248fec33111e32e27a3d51a4fc0261085c221f /sql/sql_class.cc | |
parent | 89b81a9a24c08221dc551d8572ef68e426afce3a (diff) | |
download | mariadb-git-23ac2dd2a4c5f281479980d0156a2ccebab510b2.tar.gz |
sql_class: incorrect assignment in Security_context::destroy
Found by Coverity (id 971843).
Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r-- | sql/sql_class.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); |