Skip to content

Commit fb3140a

Browse files
authored
Add missing newline in DoubleFreeBad.cpp
1 parent f57b1d3 commit fb3140a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: cpp/ql/src/Critical/DoubleFreeBad.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ int* f() {
77
free(buff); // BAD: If new_buffer is assigned the same address as buff,
88
// the memory allocator will free the new buffer memory region,
99
// leading to use-after-free problems and memory corruption.
10+
1011
return new_buffer;
1112
}

0 commit comments

Comments
 (0)