Skip to content

Commit 03bb912

Browse files
Update docs/code-quality/c6308.md
Co-authored-by: Michael Squires <[email protected]>
1 parent 6dfe664 commit 03bb912

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/code-quality/c6308.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Code analysis name: REALLOCLEAK
1919

2020
## Example
2121

22-
The following sample code generates this warning. This issue stems from the assignment of x to the return value from realloc. If realloc fails and returns a null pointer, then x will fail to be freed:
22+
The following sample code generates this warning. This issue stems from the assignment of `x` to the return value from realloc. If realloc fails and returns a NULL pointer, then `x` will fail to be freed:
2323

2424
```cpp
2525
#include <malloc.h>

0 commit comments

Comments
 (0)