From: vsr Date: Fri, 18 Oct 2013 14:13:49 +0000 (+0000) Subject: Fix crash X-Git-Tag: BR_hydro_v_0_3_1~35 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=afc806f1d4b4117f710021ef12cf216c7beed7d1;p=modules%2Fgui.git Fix crash --- diff --git a/src/SALOME_PYQT/SalomePyQt/SalomePyQt.sip b/src/SALOME_PYQT/SalomePyQt/SalomePyQt.sip index 161c378c5..431dad6e9 100644 --- a/src/SALOME_PYQT/SalomePyQt/SalomePyQt.sip +++ b/src/SALOME_PYQT/SalomePyQt/SalomePyQt.sip @@ -243,8 +243,6 @@ public: pY = PyList_GET_ITEM(a1,i); double aX = PyFloat_AsDouble(pX); double aY = PyFloat_AsDouble(pY); - Py_DECREF(pX); - Py_DECREF(pY); sipCpp->addPoint(aX, aY); } %End