Skip to content

Commit

Permalink
fix: retain output memory until js sdk update
Browse files Browse the repository at this point in the history
  • Loading branch information
nilslice committed Jul 22, 2024
1 parent 7180e57 commit 44f2eb9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extism_pdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ func Output(data []byte) {

store(offset, data)
extismOutputSet(offset, clength)
extismFree(offset)
// TODO: coordinate replacement of call to free based on SDK alignment
// extismFree(offset)
}

// OutputString sends the UTF-8 string `s` to the host output.
Expand Down

0 comments on commit 44f2eb9

Please sign in to comment.