bpo-29778: Fix incorrect NULL check in _PyPathConfig_InitDLLPath() (G… · python/cpython@7b79dc9 (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 7b79dc9
authored and
committed
File tree
1 file changed
lines changed
1 file changed
lines changed
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -150,7 +150,7 @@ _PyWideStringList_Join(const PyWideStringList *list, wchar_t sep) | ||
150 | 150 | static PyStatus |
151 | 151 | _PyPathConfig_InitDLLPath(void) |
152 | 152 | { |
153 | -if (_Py_dll_path == NULL) { | |
153 | +if (_Py_dll_path != NULL) { | |
154 | 154 | /* Already set: nothing to do */ |
155 | 155 | return _PyStatus_OK(); |
156 | 156 | } |