From 99316b51b6e78191eca303dc35ae5a204f8b5c4f Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Wed, 26 Mar 2014 08:24:19 +0100 Subject: [PATCH] compilation failure with BUILD/compile-amd64-valgrind-max --- sql/opt_range.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/opt_range.cc b/sql/opt_range.cc index 103c79fa0d3..66bd287d86a 100644 --- a/sql/opt_range.cc +++ b/sql/opt_range.cc @@ -13636,7 +13636,7 @@ int QUICK_GROUP_MIN_MAX_SELECT::next_min() } else if (result == HA_ERR_KEY_NOT_FOUND || result == HA_ERR_END_OF_FILE) result= 0; /* There is a result in any case. */ - my_afree(key_buf); + my_afree(tmp_key_buff); } }