mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-27 14:20:34 +05:00
Fix memory leak in TaskManager (thx @roystgnr)
This commit is contained in:
parent
00664898c3
commit
508136b533
@ -168,6 +168,12 @@ namespace ngcore
|
|||||||
trace = nullptr;
|
trace = nullptr;
|
||||||
}
|
}
|
||||||
num_threads = 1;
|
num_threads = 1;
|
||||||
|
#ifdef USE_NUMA
|
||||||
|
for (int j = 0; j < num_nodes; j++)
|
||||||
|
numa_free (nodedata[j], sizeof(NodeData));
|
||||||
|
#else
|
||||||
|
delete nodedata[0];
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
|
Loading…
Reference in New Issue
Block a user