Skip to content

Commit bf159b1

Browse files
committed
Fix possible null pointer
1 parent 643e253 commit bf159b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extend.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2081,7 +2081,7 @@ namespace Sass {
20812081
error("\"" + str_sel + "\" failed to @extend \"" + str_ext + "\".\n"
20822082
"The selector \"" + str_ext + "\" was not found.\n"
20832083
"Use \"@extend " + str_ext + " !optional\" if the"
2084-
" extend should be able to fail.", ext->pstate());
2084+
" extend should be able to fail.", (ext ? ext->pstate() : NULL));
20852085
}
20862086
}
20872087

0 commit comments

Comments
 (0)