Skip to content

Commit 514d632

Browse files
authored
Add missing "be" and "." in alloc-dealloc-mismatch ASan error reference
1 parent 4d7fc01 commit 514d632

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/sanitizers/error-alloc-dealloc-mismatch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ helpviewer_keywords: ["alloc-dealloc-mismatch error", "AddressSanitizer error al
1111
1212
Enables runtime detection of mismatched memory operations that may lead to undefined behavior, such as:
1313
- `malloc` must be paired with `free`, not `delete`.
14-
- `new` must paired with `delete`, not `free`
14+
- `new` must be paired with `delete`, not `free`.
1515
- `new[]` must be paired with `delete[]`, not `delete`.
1616

1717
The `alloc`/`dealloc` mismatch functionality in AddressSanitizer is off by default for Windows. To enable it, run `set ASAN_OPTIONS=alloc_dealloc_mismatch=1` before running the program.

0 commit comments

Comments
 (0)