Do not decrease reference counting for string

This commit is contained in:
Furgo
2025-02-26 01:41:12 +01:00
committed by Chris Hennes
parent 6a63c6efbf
commit c62913d2ee

View File

@@ -668,7 +668,6 @@ void AboutDialog::copyToClipboard()
if (ifcopenshellVerAsStr) {
str << "IfcOpenShell " << ifcopenshellVerAsStr << ", ";
Py_DECREF(ifcopenshellVerAsStr);
}
Py_DECREF(ifcopenshellVer);
}