From 1f9d4819ad80528ac16c29f81dc397d93965f296 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Thu, 12 Dec 2013 20:30:56 +0100 Subject: [PATCH] add a forgotten my_afree() to make valgrind happy --- sql/sql_plugin.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/sql_plugin.cc b/sql/sql_plugin.cc index 5833012a260..747e51df16d 100644 --- a/sql/sql_plugin.cc +++ b/sql/sql_plugin.cc @@ -3994,6 +3994,7 @@ static int test_plugin_options(MEM_ROOT *tmp_root, struct st_plugin_int *tmp, } tmp->system_vars= chain.first; } + my_afree(tmp_backup); } DBUG_RETURN(0);