diff options
| author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-10-01 11:47:14 +0200 |
|---|---|---|
| committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-10-01 11:47:14 +0200 |
| commit | ef383797376f9aebd41c5232a3cc460e71c305dc (patch) | |
| tree | 94af3dae4c1241a463e5e3594ce57e97f0ba1586 /src/video_core/query_cache | |
| parent | 4489e2da6393a736a5db1ddeb27ab4f85b5e7f5f (diff) | |
Query Cache: Fix memory leak.
Diffstat (limited to 'src/video_core/query_cache')
| -rw-r--r-- | src/video_core/query_cache/bank_base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/query_cache/bank_base.h b/src/video_core/query_cache/bank_base.h index 4209270917..44769ea971 100644 --- a/src/video_core/query_cache/bank_base.h +++ b/src/video_core/query_cache/bank_base.h @@ -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(); |
