From 9ce7a7fd913b70dab2107edb2e50aff7bacc56af Mon Sep 17 00:00:00 2001 From: xzyfer Date: Wed, 4 Jul 2018 20:36:29 +1000 Subject: [PATCH] Fix possible bug with handling empty reference combinators Fixes #2665 --- src/inspect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inspect.cpp b/src/inspect.cpp index b4a66fab8..5cd8cc0c7 100644 --- a/src/inspect.cpp +++ b/src/inspect.cpp @@ -1057,7 +1057,7 @@ namespace Sass { case Complex_Selector::REFERENCE: append_mandatory_space(); append_string("/"); - c->reference()->perform(this); + if (c->reference()) c->reference()->perform(this); append_string("/"); append_mandatory_space(); break;