diff --git a/src/context.cpp b/src/context.cpp index 7fa7d7818..4aff0ceae 100644 --- a/src/context.cpp +++ b/src/context.cpp @@ -291,6 +291,8 @@ namespace Sass { stack += "\n " + sass::string(File::abs2rel(import_stack[n]->abs_path, cwd, cwd)) + " imports " + sass::string(File::abs2rel(import_stack[n+1]->abs_path, cwd, cwd)); } + sass_delete_import(import_stack.back()); + delete source; // implement error throw directly until we // decided how to handle full stack traces throw Exception::InvalidSyntax(pstate, traces, stack);