Skip to content

Commit 592bd27

Browse files
mgreterxzyfer
authored andcommitted
Fix segfault in selector append edge-case
1 parent 95f0b5e commit 592bd27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ast.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1225,7 +1225,7 @@ namespace Sass {
12251225
} else {
12261226
last()->head_->concat(h);
12271227
}
1228-
} else {
1228+
} else if (last()->head_) {
12291229
last()->head_->concat(h);
12301230
}
12311231
} else {

0 commit comments

Comments
 (0)