Skip to content

Commit

Permalink
delaySample free fix (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
laves authored Apr 23, 2024
1 parent d071cb5 commit 79b4f38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion binding/web/src/koala.ts
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ export class Koala {
}

const delaySample = memoryBufferView.getInt32(delaySampleAddress, true);
await pv_free(delaySample);
await pv_free(delaySampleAddress);

const frameLength = await pv_koala_frame_length();
const sampleRate = await pv_sample_rate();
Expand Down

0 comments on commit 79b4f38

Please sign in to comment.