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 1ac5db3 commit b2d4a82Copy full SHA for b2d4a82
cpp/ql/test/query-tests/Critical/MemoryFreed/test_free.cpp
@@ -164,7 +164,7 @@ void test_loop2(char ** a) {
164
165
void* test_realloc4() {
166
void *a = 0;
167
- void *b = realloc(a, 10); // GOOD [FALSE POSITIVE]
+ void *b = realloc(a, 10); // BAD for cpp/memory-never-freed
168
if (!b) { return a; }
169
return b;
170
}
0 commit comments