I'm doing snapshots with umdh to find memory leaks. I do my 2 snapshots and then produce a diff (compare) file between them and I get a stacktrace that shows a memory leak as result of calling CreateProcess. Thing is I'm releasing both handles that are in the PROCESS_INFORMATION structure I'm passing in with this:
So I'm not sure how else this could be a memory leak. Is there something else I have to release for CreateProcess? Could this just be a false positive?
+ 1664 ( 1664 - 0) 1 allocs BackTrace15ADAAE0
+ 1 ( 1 - 0) BackTrace15ADAAE0 allocations
ntdll! ?? ::FNODOBFM::`string'+0001913B
OurProject!OurTask::HandleFile+0000018E (e:\OurProjectSourceDir\OurTask.cpp, 248)
OurProject!OurTask::Run+00000141 (e:\OurProjectSourceDir\OurTask.cpp, 78)
OurProject!RunTask+00000070 (e:\OurProjectSourceDir\igeneraltask.cpp, 98)