From: eap Date: Thu, 12 May 2011 08:48:17 +0000 (+0000) Subject: TC6.3.0: SIGSEGV calling copy-paste of objects X-Git-Tag: V6_3_0~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=01d9494b7fddc2f3a45fde92fec73f3daca1e18f;p=modules%2Fgui.git TC6.3.0: SIGSEGV calling copy-paste of objects void notifyObserverID_real(const std::string& theID, long event) { - SalomeApp_DataObject* suit_obj; + SalomeApp_DataObject* suit_obj = 0; --- diff --git a/src/SalomeApp/SalomeApp_Study.cxx b/src/SalomeApp/SalomeApp_Study.cxx index 64f0c4173..f9230060f 100644 --- a/src/SalomeApp/SalomeApp_Study.cxx +++ b/src/SalomeApp/SalomeApp_Study.cxx @@ -109,7 +109,7 @@ public: void notifyObserverID_real(const std::string& theID, long event) { - SalomeApp_DataObject* suit_obj; + SalomeApp_DataObject* suit_obj = 0; switch(event) { case 1: