Skip to content

Commit b2d4a82

Browse files
committed
C++: Fix annotations.
1 parent 1ac5db3 commit b2d4a82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/test/query-tests/Critical/MemoryFreed/test_free.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ void test_loop2(char ** a) {
164164

165165
void* test_realloc4() {
166166
void *a = 0;
167-
void *b = realloc(a, 10); // GOOD [FALSE POSITIVE]
167+
void *b = realloc(a, 10); // BAD for cpp/memory-never-freed
168168
if (!b) { return a; }
169169
return b;
170170
}

0 commit comments

Comments
 (0)