boostorg / boostorg/program_options
klocwork analysis finding: memory leak
Open
- Dominant language
- C++
- Stars
- 136
- Forks
- 117
- PR merge metrics
- No merged PRs in 30d
Description
Problem Description:
44 int parse_cmd_options(int argc, char **argv) {
45 po::options_description desc{"Options"};
46 desc.add_options()
47 ("help", "Convolution Options:")
48 ("mb,n", po::value(&mb), "Batch size")
klocwork report: Memory leak. Dynamic memory stored in 'po::value ( &sw)' allocated through function 'value' at line 48 is lost at line 46
The boost version we used is 1.69
Any comments for this issue?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.