From 4e89f57822adaf89b23f387b783f4d16cdcbb348 Mon Sep 17 00:00:00 2001 From: Marcel Greter Date: Thu, 8 Aug 2019 07:24:26 +0200 Subject: [PATCH] Document the need to use `sass_free_memory` --- docs/api-doc.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/api-doc.md b/docs/api-doc.md index e6123d6a1..3a596e8d5 100644 --- a/docs/api-doc.md +++ b/docs/api-doc.md @@ -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