Fixed SEGV caused by commit 6be04664 when creating universal slots.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/14/head
Michele Calgaro 1 year ago
parent 7ec95b9522
commit 3095466100
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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;
}

Loading…
Cancel
Save