mirror of
https://github.com/python/cpython.git
synced 2025-09-11 03:07:01 +00:00
bpo-29778: Fix incorrect NULL check in _PyPathConfig_InitDLLPath() (GH-17818)
This commit is contained in:
parent
5ec91f78d5
commit
7b79dc9200
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ _PyWideStringList_Join(const PyWideStringList *list, wchar_t sep)
|
|||
static PyStatus
|
||||
_PyPathConfig_InitDLLPath(void)
|
||||
{
|
||||
if (_Py_dll_path == NULL) {
|
||||
if (_Py_dll_path != NULL) {
|
||||
/* Already set: nothing to do */
|
||||
return _PyStatus_OK();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue