google / google/benchmark

MemLeak

Open
#782 9 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
10.4k
Forks
1.8k
Avg merge
2d 4h
Merged PRs (30d)
8

Description

I constantly see memory leak of total 356 bytes occurring when I run the benchmark.
Digging into source I found this line in sysinfo.cc file at line 577:
static const CPUInfo* info = new CPUInfo();

Is this a mistake or an intentionally made?
If it's not a mistake so what is reason behind it to tolerate the leak?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.