Do not decrease reference counting for string

This commit is contained in:
Furgo
2025-02-26 13:36:45 +00:00
committed by Chris Hennes
parent f9bb6508ff
commit 56f0f64015
-1
View File
@@ -668,7 +668,6 @@ void AboutDialog::copyToClipboard()
if (ifcopenshellVerAsStr) {
str << "IfcOpenShell " << ifcopenshellVerAsStr << ", ";
Py_DECREF(ifcopenshellVerAsStr);
}
Py_DECREF(ifcopenshellVer);
}