Skip to content

Commit a37c8c2

Browse files
authored
Fix alloc/dealloc pair mistake in alloc-dealloc-mismatch ASan error reference
1 parent b121ccb commit a37c8c2

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
@@ -9,7 +9,7 @@ helpviewer_keywords: ["alloc-dealloc-mismatch error", "AddressSanitizer error al
99

1010
> Address Sanitizer Error: Mismatch between allocation and deallocation APIs
1111
12-
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. This environment variable is checked at runtime to report errors on `malloc`/`delete`, `new`/`free`, and `new`/`delete[]`.
12+
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. This environment variable is checked at runtime to report errors on `malloc`/`free`, `new`/`delete`, and `new[]`/`delete[]`.
1313

1414
## Example
1515

0 commit comments

Comments
 (0)