We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fd6bc9 commit 088f829Copy full SHA for 088f829
cpp/ql/src/Critical/DoubleFreeBad2.cpp
@@ -1,5 +1,5 @@
1
void g() {
2
- MyTask *task = NULL;
+ MyTask *task = nullptr;
3
4
try
5
{
cpp/ql/src/Critical/DoubleFreeGood2.cpp
@@ -8,7 +8,7 @@ void g() {
8
...
9
10
delete task;
11
- task = NULL;
+ task = nullptr;
12
13
14
} catch (...) {
0 commit comments