Skip to content

Fix CPU topology initialization memory leak

Ghost User requested to merge (removed):master into master

read_topology() function was leaking 4 KB of memory per CPU. The solution loads file data into a C++ string, which is freed automatically when the function returns due to an error or when the variable holding the loaded data goes out of scope.

Merge request reports