Do not decrease reference counting for string
This commit is contained in:
@@ -668,7 +668,6 @@ void AboutDialog::copyToClipboard()
|
||||
|
||||
if (ifcopenshellVerAsStr) {
|
||||
str << "IfcOpenShell " << ifcopenshellVerAsStr << ", ";
|
||||
Py_DECREF(ifcopenshellVerAsStr);
|
||||
}
|
||||
Py_DECREF(ifcopenshellVer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user