mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[REGEXPL]
Fix memory leaks Fix broken if condition Use delete[] operator for allocations made with new[] operator Properly check for failed allocations by not throwing exception svn path=/trunk/; revision=54034
This commit is contained in:
@@ -395,7 +395,7 @@ CheckValueArgument:
|
||||
|
||||
SkipCommand:
|
||||
if (pDataBuffer)
|
||||
delete pDataBuffer;
|
||||
delete[] pDataBuffer;
|
||||
return 0;
|
||||
|
||||
CommandNAonRoot:
|
||||
|
||||
Reference in New Issue
Block a user