From 30954661009ddfb9db2e9daed3bfbd594bb20441 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 3 Jan 2023 23:34:16 +0900 Subject: Fixed SEGV caused by commit 6be04664 when creating universal slots. Signed-off-by: Michele Calgaro --- sip/qt/qobject.sip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sip/qt/qobject.sip b/sip/qt/qobject.sip index fcc1d89..df82e56 100644 --- a/sip/qt/qobject.sip +++ b/sip/qt/qobject.sip @@ -1414,7 +1414,7 @@ static void *sipTQtCreateUniversalSlot(sipWrapper *tx, const char *sig, pyqt3SlotConnection conn; /* Initialise the connection. */ - if (sipGetAddress(&tx->super) == NULL) + if (tx && sipGetAddress(&tx->super) == NULL) { conn.sc_transmitter = 0; } -- cgit v1.2.1