We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bab84f0 commit 2c0420eCopy full SHA for 2c0420e
native/common/jp_platform.cpp
@@ -64,13 +64,13 @@ class Win32PlatformAdapter : public JPPlatformAdapter
64
virtual void loadLibrary(const char* path) override
65
{
66
JP_TRACE_IN("Win32PlatformAdapter::loadLibrary");
67
- wchar_t *wpath = Py_DecodeLocale(path, NULL);
68
- if (wpath == NULL)
69
- {
70
- JP_RAISE(PyExc_SystemError, "Unable to get JVM path with locale.");
71
- }
+ wchar_t *wpath = Py_DecodeLocale(path, NULL);
+ if (wpath == NULL)
+ {
+ JP_RAISE(PyExc_SystemError, "Unable to get JVM path with locale.");
+ }
72
jvmLibrary = LoadLibraryW(wpath);
73
- PyMem_RawFree(wpath);
+ PyMem_RawFree(wpath);
74
if (jvmLibrary == NULL)
75
76
JP_RAISE_OS_ERROR_WINDOWS( GetLastError(), path);
0 commit comments