diff options
author | Michele Calgaro <[email protected]> | 2023-01-03 23:34:16 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-01-03 23:34:16 +0900 |
commit | 30954661009ddfb9db2e9daed3bfbd594bb20441 (patch) | |
tree | 3313fab5818f875ae69b1387627c1f55b707ef38 | |
parent | 7ec95b95226aa01c050dfc383833ef107bc95c60 (diff) | |
download | pytqt-30954661009ddfb9db2e9daed3bfbd594bb20441.tar.gz pytqt-30954661009ddfb9db2e9daed3bfbd594bb20441.zip |
Fixed SEGV caused by commit 6be04664 when creating universal slots.
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | sip/qt/qobject.sip | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |