C++: Fix annotations.

This commit is contained in:
Mathias Vorreiter Pedersen
2023-04-13 11:13:15 +01:00
parent 1ac5db3a98
commit b2d4a82932

View File

@@ -164,7 +164,7 @@ void test_loop2(char ** a) {
void* test_realloc4() {
void *a = 0;
void *b = realloc(a, 10); // GOOD [FALSE POSITIVE]
void *b = realloc(a, 10); // BAD for cpp/memory-never-freed
if (!b) { return a; }
return b;
}