Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Document the need to use sass_free_memory
Browse files Browse the repository at this point in the history
  • Loading branch information
mgreter committed Aug 8, 2019
1 parent e340781 commit 4e89f57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/api-doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ is not destroyed (`sass_delete_context`). LibSass will create copies of most
inputs/options beside the main sass code. You need to allocate and fill that
buffer before passing it to LibSass. You may also overtake memory management
from libsass for certain return values (i.e. `sass_context_take_output_string`).
Make sure to free it via `sass_free_memory`.

```C
// to allocate buffer to be filled
Expand Down

0 comments on commit 4e89f57

Please sign in to comment.