Skip to content

Commit

Permalink
Improve function call return value handling
Browse files Browse the repository at this point in the history
Fix segfault caused by static cast and wrong type
Fixes sass#1269
  • Loading branch information
mgreter authored and xzyfer committed Jul 8, 2015
1 parent f2569ba commit 61e6563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ namespace Sass {
Selector_Schema* selector_schema = new (ctx.mem) Selector_Schema(pstate, schema);
selector_schema->media_block(last_media_block);
selector_schema->last_block(block_stack.back());
// return parsed result
// update position
return selector_schema;
}
// EO parse_selector_schema
Expand Down

0 comments on commit 61e6563

Please sign in to comment.