Skip to content

Commit 62ecf54

Browse files
authored
Update DangerousUseOfExceptionBlocks.cpp
1 parent e99eaeb commit 62ecf54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/experimental/Security/CWE/CWE-476/DangerousUseOfExceptionBlocks.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ try {
2121
{
2222
for (size_t i = 0; i < valData->sizeInt; i++)
2323
{
24-
if(delete valData->bufMyData[i])
24+
if(valData->bufMyData[i])
2525
{
2626
delete[] valData->bufMyData[i]->buffer; // GOOD
2727
delete valData->bufMyData[i];

0 commit comments

Comments
 (0)