aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2023-05-10 17:03:17 +0200
committerLuuk de Gram <luuk@degram.dev>2023-05-19 20:19:00 +0200
commit43e89026ac90ee6e8c2cb066068eb8ff10352ac1 (patch)
tree5652c5820a1649275d7b252bdd2b650ca8bd75df /src/codegen
parent8be69f41328ebc0331434fd9d4008985463188c9 (diff)
downloadzig-43e89026ac90ee6e8c2cb066068eb8ff10352ac1.tar.gz
zig-43e89026ac90ee6e8c2cb066068eb8ff10352ac1.zip
wasm: fix double free of locals
A copy was being made of a WValue variable, which meant the call to `free` would insert the local that was being held by said WValue was appended to the free list twice. This led to the same local being reused even though it wasn't free and would lead to it being over- written by a new value.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions