Skip to content

Commit

Permalink
Merge pull request sass#176 from Nabellaleen/fixFirstMemoryLeak
Browse files Browse the repository at this point in the history
Fix of a memory leak
  • Loading branch information
Aaron Leung committed Oct 16, 2013
2 parents 9b8afdc + 194b78e commit 7128b45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eval.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ namespace Sass {
if (lstr[0] == '"' || lstr[0] == '\'') q = lstr[0];
else if (rstr[0] == '"' || rstr[0] == '\'') q = rstr[0];
string result(unquote(lstr) + sep + unquote(rstr));
return new String_Constant(lhs->path(),
return new (ctx.mem) String_Constant(lhs->path(),
lhs->line(),
unquoted ? result : quote(result, q));
}
Expand Down

0 comments on commit 7128b45

Please sign in to comment.