File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1240,7 +1240,7 @@ namespace Sass {
1240
1240
Selector_List_Ptr parents = pstack.back ();
1241
1241
1242
1242
if (!this ->has_real_parent_ref () && !implicit_parent) {
1243
- Selector_List_Ptr retval = SASS_MEMORY_NEW (Selector_List, pstate ());
1243
+ Selector_List_Ptr retval = SASS_MEMORY_NEW (Selector_List, pstate (), 1 );
1244
1244
retval->append (this );
1245
1245
return retval;
1246
1246
}
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ namespace Sass {
84
84
if (index < 0 || index > len - 1 ) error (" index out of bounds for `" + std::string (sig) + " `" , pstate, traces);
85
85
86
86
if (m) {
87
- l = SASS_MEMORY_NEW (List, pstate, 1 );
87
+ l = SASS_MEMORY_NEW (List, pstate, 2 );
88
88
l->append (m->keys ()[static_cast <unsigned int >(index)]);
89
89
l->append (m->at (m->keys ()[static_cast <unsigned int >(index)]));
90
90
return l.detach ();
@@ -281,4 +281,4 @@ namespace Sass {
281
281
282
282
}
283
283
284
- }
284
+ }
You can’t perform that action at this time.
0 commit comments