From: vsr Date: Tue, 25 Oct 2011 11:48:15 +0000 (+0000) Subject: 0021403: EDF 1972 VISU: Crash when dumping study X-Git-Tag: V6_main_20111026 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=61485188cbcc523e8e1365756941eb7a45ab270d;p=modules%2Fvisu.git 0021403: EDF 1972 VISU: Crash when dumping study --- diff --git a/src/VISU_I/VISU_DumpPython.cc b/src/VISU_I/VISU_DumpPython.cc index 161a9cd0..e0a7b42e 100644 --- a/src/VISU_I/VISU_DumpPython.cc +++ b/src/VISU_I/VISU_DumpPython.cc @@ -1980,6 +1980,9 @@ namespace VISU continue; Result_i* aResult = aDevice->GetCResult(); + if (!aResult) + continue; + std::string aResultEntry = aResult->GetEntry(); std::string aResultName = theEntry2NameMap[aResultEntry];