Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Commit 4e89f57

Browse files
committed
Document the need to use sass_free_memory
1 parent e340781 commit 4e89f57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/api-doc.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ is not destroyed (`sass_delete_context`). LibSass will create copies of most
129129
inputs/options beside the main sass code. You need to allocate and fill that
130130
buffer before passing it to LibSass. You may also overtake memory management
131131
from libsass for certain return values (i.e. `sass_context_take_output_string`).
132+
Make sure to free it via `sass_free_memory`.
132133

133134
```C
134135
// to allocate buffer to be filled

0 commit comments

Comments
 (0)