diff options
| author | Luuk de Gram <luuk@degram.dev> | 2023-05-10 17:03:17 +0200 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2023-05-19 20:19:00 +0200 |
| commit | 43e89026ac90ee6e8c2cb066068eb8ff10352ac1 (patch) | |
| tree | 5652c5820a1649275d7b252bdd2b650ca8bd75df /src/codegen | |
| parent | 8be69f41328ebc0331434fd9d4008985463188c9 (diff) | |
| download | zig-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
