From acb6de53b1f2772495327f3cceafda0f6b6d5679 Mon Sep 17 00:00:00 2001 From: vsv Date: Fri, 12 Sep 2014 18:20:08 +0400 Subject: [PATCH] Issue #118: Crash on remove part is fixed --- src/Model/Model_FeatureValidator.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Model/Model_FeatureValidator.cpp b/src/Model/Model_FeatureValidator.cpp index 2f9894dce..dd28371d7 100644 --- a/src/Model/Model_FeatureValidator.cpp +++ b/src/Model/Model_FeatureValidator.cpp @@ -15,6 +15,8 @@ bool Model_FeatureValidator::isValid(const boost::shared_ptr& const std::list& theArguments) const { boost::shared_ptr aData = theFeature->data(); + if (!aData) + return false; if (!aData->isValid()) return false; const std::string kAllTypes = ""; -- 2.39.2