Skip to content

Commit

Permalink
buf:reset()
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Nov 3, 2023
1 parent ae2aa62 commit 23d47cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/runloop/wasm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ do

local s = buf:get()

buf:free()
buf:reset()

return sha256(s)
end
Expand Down

0 comments on commit 23d47cd

Please sign in to comment.