Skip to content

Commit 4d7fc01

Browse files
authored
Replace bullet (U+2022) with dash in alloc-dealloc-mismatch ASan error reference
1 parent 531c591 commit 4d7fc01

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ helpviewer_keywords: ["alloc-dealloc-mismatch error", "AddressSanitizer error al
1010
> Address Sanitizer Error: Mismatch between allocation and deallocation APIs
1111
1212
Enables runtime detection of mismatched memory operations that may lead to undefined behavior, such as:
13-
`malloc` must be paired with `free`, not `delete`.
14-
`new` must paired with `delete`, not `free`
15-
`new[]` must be paired with `delete[]`, not `delete`.
13+
- `malloc` must be paired with `free`, not `delete`.
14+
- `new` must paired with `delete`, not `free`
15+
- `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.
1818

0 commit comments

Comments
 (0)