From 01d9494b7fddc2f3a45fde92fec73f3daca1e18f Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 12 May 2011 08:48:17 +0000 Subject: [PATCH] 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; --- src/SalomeApp/SalomeApp_Study.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.2