aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/libshiboken/basewrapper.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-10-29 14:10:02 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-10-29 14:15:29 +0100
commitd15a65c93717b8e69352a19dd81c3b08adcef996 (patch)
treeec8feeb40061b7ddf4f40e38cece9fe67e4957ec /sources/shiboken2/libshiboken/basewrapper.cpp
parentf4a6d74852b0ba6711195a9c3fc9356e677a3409 (diff)
parent6978325323208c395d135f19847a8ad0b13f93f9 (diff)
Merge remote-tracking branch 'origin/5.11' into 5.12
Diffstat (limited to 'sources/shiboken2/libshiboken/basewrapper.cpp')
-rw-r--r--sources/shiboken2/libshiboken/basewrapper.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/sources/shiboken2/libshiboken/basewrapper.cpp b/sources/shiboken2/libshiboken/basewrapper.cpp
index 2f5f27989..c9e3b9d1b 100644
--- a/sources/shiboken2/libshiboken/basewrapper.cpp
+++ b/sources/shiboken2/libshiboken/basewrapper.cpp
@@ -447,8 +447,10 @@ PyObject* SbkQAppTpNew(PyTypeObject* subtype, PyObject *, PyObject *)
}
void
-SbkDummyDealloc(PyObject *)
-{}
+object_dealloc(PyObject *self)
+{
+ Py_TYPE(self)->tp_free(self);
+}
PyObject *
SbkDummyNew(PyTypeObject *type, PyObject*, PyObject*)