X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConfig%2FConfig_Common.cpp;h=634a4337ff73b7c0eb0c92d9eedf9581eece9798;hb=1e331e45cee661c73461f09a8114aaba62c8d9b4;hp=e0837036eb71d200a1a40581e3a98ad3854dfcba;hpb=031fb5e7c551e695afa72a9de299f118a40d8d88;p=modules%2Fshaper.git diff --git a/src/Config/Config_Common.cpp b/src/Config/Config_Common.cpp index e0837036e..634a4337f 100644 --- a/src/Config/Config_Common.cpp +++ b/src/Config/Config_Common.cpp @@ -20,6 +20,8 @@ bool isElementNode(xmlNodePtr theNode) { + if (!theNode) + return false; return theNode->type == XML_ELEMENT_NODE; }