From 06a525929c349594c6b9c023b677913946f4f925 Mon Sep 17 00:00:00 2001 From: Max Neunhoeffer Date: Mon, 8 Sep 2014 11:01:03 +0200 Subject: [PATCH] Fix a memleak with hash index lookup in AQL. --- arangod/Aql/ExecutionBlock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arangod/Aql/ExecutionBlock.cpp b/arangod/Aql/ExecutionBlock.cpp index c6b1888d38..a571706b4a 100644 --- a/arangod/Aql/ExecutionBlock.cpp +++ b/arangod/Aql/ExecutionBlock.cpp @@ -1129,7 +1129,7 @@ void IndexRangeBlock::readHashIndex () { JsonHelper::getArrayElement(x._low._bound.json(), "value"), false); // here x->_low->_bound = x->_high->_bound searchValue._values[i] = *shaped; - + TRI_Free(shaper->_memoryZone, shaped); } }