From 3613adc84e526a830ac43b97a2f85344a48ef792 Mon Sep 17 00:00:00 2001 From: Nabellaleen Date: Thu, 17 Oct 2013 14:40:18 +0200 Subject: [PATCH] Fix second memory leak. Done by @apique --- context.cpp | 2 +- context.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/context.cpp b/context.cpp index bc0ab2ae1..daa50f16c 100644 --- a/context.cpp +++ b/context.cpp @@ -39,7 +39,7 @@ namespace Sass { using std::endl; Context::Context(Context::Data initializers) - : mem(Memory_Manager()), + : mem(Memory_Manager()), source_c_str (initializers.source_c_str()), sources (vector()), include_paths (initializers.include_paths()), diff --git a/context.hpp b/context.hpp index 7bf615f70..d994e49d3 100644 --- a/context.hpp +++ b/context.hpp @@ -28,7 +28,7 @@ namespace Sass { enum Output_Style { NESTED, EXPANDED, COMPACT, COMPRESSED, FORMATTED }; struct Context { - Memory_Manager mem; + Memory_Manager mem; const char* source_c_str; vector sources; // c-strs containing Sass file contents