Skip to content
Snippets Groups Projects
Commit 9007d8c8 authored by Fernando Sahmkow's avatar Fernando Sahmkow
Browse files

Query Cache: Fix memory leak.

parent 184ee2d8
No related branches found
No related tags found
No related merge requests found
......@@ -82,6 +82,7 @@ public:
size_t new_index = bank_indices.front();
bank_indices.pop_front();
bank_pool[new_index].Reset();
bank_indices.push_back(new_index);
return new_index;
}
size_t new_index = bank_pool.size();
......
......@@ -506,6 +506,7 @@ private:
SetAccumulationValue(query->value);
Free(index);
});
rasterizer->SyncOperation(std::move(func));
}
template <bool is_resolve>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment