Skip to content

Commit 76c6dde

Browse files
committed
mention when c26865 was added to VS
1 parent 5dce966 commit 76c6dde

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/code-quality/c26865.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.assetid: 2fbe9dc5-fa43-47b9-97a7-3f8215da1d40
1010

1111
> Memory allocated with '\<allocation-function\>' is being deallocated with '\<wrong-deallocation-function\>'. Use '\<correct-deallocation-function\>' instead.
1212
13+
This rule was added in Visual Studio 2026 18.0.
14+
1315
## Remarks
1416

1517
This warning indicates that the memory was allocated with one family of allocation functions, but was freed with a deallocation function from a different family. This usage results in undefined behavior according to C/C++ and the Microsoft MSVC implementation.

0 commit comments

Comments
 (0)