summaryrefslogtreecommitdiffstats
path: root/source/core/slang-chunked-list.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-02-09 15:30:38 -0800
committerGitHub <noreply@github.com>2022-02-09 15:30:38 -0800
commitb8982fcf43b86c1e39dcc3dd19bff2821633eda6 (patch)
tree0d66dbf46b50e760cce4aee232bd6a020976e6fb /source/core/slang-chunked-list.h
parent59f3fdc0a372d19ce4e989514ee3e9ecbcbf234c (diff)
Various fixes to gfx. (#2120)
* Various fixes to gfx. * Fix. * Fixes. * Fix. Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/core/slang-chunked-list.h')
-rw-r--r--source/core/slang-chunked-list.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/core/slang-chunked-list.h b/source/core/slang-chunked-list.h
index fced9834a..36f97cedd 100644
--- a/source/core/slang-chunked-list.h
+++ b/source/core/slang-chunked-list.h
@@ -243,6 +243,7 @@ private:
{
auto nextChunk = chunk->next;
freeChunk(chunk);
+ chunk = nextChunk;
}
m_firstChunk.next = 0;
m_firstChunk.size = 0;