Skip to content

Commit 88b3bbe

Browse files
committed
update README
1 parent 783afc9 commit 88b3bbe

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,5 @@ const ta = @import("ta_lib");
3131
const prices = [_]f64{ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0 };
3232
3333
const result = try ta.MOM(allocator, &prices, 5);
34+
defer allocator.free(result);
3435
```

0 commit comments

Comments
 (0)