Skip to content

Commit 95b7a14

Browse files
authored
use py_rawfree as reset() is called without gil (and it is clearing non-obj) (#447)
1 parent 9d57a6a commit 95b7a14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Plugin/src/SofaPython3/PythonEnvironment.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class PythonEnvironmentData
9292
void reset()
9393
{
9494
for(auto s : m_argv){
95-
PyMem_Free(s);
95+
PyMem_RawFree(s);
9696
}
9797
m_argv.clear();
9898
addedPath.clear();

0 commit comments

Comments
 (0)