]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix crash
authorvsr <vsr@opencascade.com>
Fri, 18 Oct 2013 14:13:49 +0000 (14:13 +0000)
committervsr <vsr@opencascade.com>
Fri, 18 Oct 2013 14:13:49 +0000 (14:13 +0000)
src/SALOME_PYQT/SalomePyQt/SalomePyQt.sip

index 161c378c57d2a05d82ce97d1759c05f1391f924d..431dad6e9eee03406f0f8b39035fc56b97258552 100644 (file)
@@ -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