From 32d5ad61f5c88e22613e0ade1733d617add0df6b Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Fri, 20 Jul 2007 12:48:24 +0000 Subject: [PATCH 1/1] fix PSignal refcounting .. this fixes a bluescreen after service searching in start wizzard --- lib/python/connections.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/python/connections.cpp b/lib/python/connections.cpp index 3c31baf..00f33f7 100644 --- a/lib/python/connections.cpp +++ b/lib/python/connections.cpp @@ -23,10 +23,7 @@ void PSignal::callPython(ePyObject tuple) PyObject *PSignal::get() { if (!m_list) - { m_list = PyList_New(0); - Py_INCREF(m_list); - } Py_INCREF(m_list); return m_list; } -- 2.7.4