Skip to content

Commit 475ea0a

Browse files
committed
Merge branch 'master' of ../libsass into python
2 parents cb95812 + b3e7210 commit 475ea0a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

sass_interface.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ extern "C" {
3737
sass_folder_context* sass_new_folder_context()
3838
{ return (sass_folder_context*) calloc(1, sizeof(sass_folder_context)); }
3939

40+
void sass_free_folder_context(sass_folder_context* ctx)
41+
{
42+
if (ctx->output_path) free(ctx->output_path);
43+
if (ctx->error_message) free(ctx->error_message);
44+
45+
free(ctx);
46+
}
47+
4048
static char* process_document(Sass::Document& doc, int style)
4149
{
4250
using namespace Sass;

0 commit comments

Comments
 (0)