| 308 | PyObject* DLLDirectoryCookie = nullptr; |
| 309 | |
| 310 | void CloseDLLDirectoryCookie() |
| 311 | { |
| 312 | if (DLLDirectoryCookie) |
| 313 | { |
| 314 | if (PyObject_HasAttrString(DLLDirectoryCookie, "close")) |
| 315 | { |
| 316 | PyObject* result = PyObject_CallMethod(DLLDirectoryCookie, "close", nullptr); |
| 317 | Py_XDECREF(result); |
| 318 | } |
| 319 | Py_XDECREF(DLLDirectoryCookie); |
| 320 | DLLDirectoryCookie = nullptr; |
| 321 | } |
| 322 | } |
| 323 | #endif |
| 324 | |
| 325 | //------------------------------------------------------------------------------ |
no outgoing calls
no test coverage detected