microsoft / microsoft/Windows-classic-samples
Memory not freed from FwpmNetEventEnum
Open
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 5.7k
- Forks
- 3.3k
- PR merge metrics
- No merged PRs in 30d
Description
This call appears to do nothing. Letting this run overnight and memory usage increased by several hundred MB. Commenting out the FwpmNetEventEnum0 call removes the memory leak.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at Samples/Win7Samples/netds/wfp/diagevents/diagevents.c around line 284 and inspect the FwpmNetEventEnum0 call and its surrounding resource handling. Reproduce the enumeration workload and compare memory usage with and without that call; done means the sample no longer shows the reported memory growth.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100