Remove releaseWrapper as Signal tp_dealloc

It was being called when the Signal was garbage
collected, resulting in a segfault.

Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Reviewer: Renato Filho <renato.filho@openbossa.org>
This commit is contained in:
Lauro Neto 2010-10-25 18:12:45 -03:00 committed by Marcelo Lira
commit b7f36fec39
3 changed files with 18 additions and 1 deletions

View file

@ -83,7 +83,7 @@ PyTypeObject PySideSignalType = {
/*tp_name*/ "PySide.QtCore."SIGNAL_CLASS_NAME,
/*tp_basicsize*/ sizeof(SignalData),
/*tp_itemsize*/ 0,
/*tp_dealloc*/ &Shiboken::deallocWrapper,
/*tp_dealloc*/ 0,
/*tp_print*/ 0,
/*tp_getattr*/ 0,
/*tp_setattr*/ 0,