mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[COVERITY][SETUPAPI] Release the blocks of memory when done
pRange variable allocates blocks of memory from the heap by HeapAlloc() although this resource is never freed afterwards. COVERITY CID 1427056
This commit is contained in:
committed by
Hermès BÉLUSCA - MAÏTO
parent
b6262a25fd
commit
0bc8e2a5bb
@@ -1075,7 +1075,8 @@ CM_Add_Range(
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
HeapFree(GetProcessHeap(), 0, pRange);
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
done:
|
||||
|
||||
Reference in New Issue
Block a user