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 f9bb6508ff
commit 56f0f64015

View File

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