Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Deseyn <tom.deseyn@gmail.com>2021-03-02 01:17:49 +0300
committerGitHub <noreply@github.com>2021-03-02 01:17:49 +0300
commit0c2a880825d16a219c4311d63f4af859bd467284 (patch)
treee887ddbffc96b45cce3a3340cc01e6b4278ef325 /src/coreclr/pal
parent99741fcee6d248a8ca9add462c21377726b2df09 (diff)
cgroup: fix memory leak in GetCGroupMemoryUsage (#48911)
Diffstat (limited to 'src/coreclr/pal')
-rw-r--r--src/coreclr/pal/src/misc/cgroup.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/coreclr/pal/src/misc/cgroup.cpp b/src/coreclr/pal/src/misc/cgroup.cpp
index e452141df07..c0d36e16d74 100644
--- a/src/coreclr/pal/src/misc/cgroup.cpp
+++ b/src/coreclr/pal/src/misc/cgroup.cpp
@@ -415,6 +415,7 @@ private:
}
}
+ free(mem_usage_filename);
return result;
}