Skip to content

Commit d7d9229

Browse files
[ffi] Fix MallocAllocator doc (#1096)
1 parent 2393cca commit d7d9229

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkgs/ffi/lib/src/allocation.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ final WinCoTaskMemFree winCoTaskMemFree = winCoTaskMemFreePointer.asFunction();
4040

4141
/// Manages memory on the native heap.
4242
///
43-
/// Does not initialize newly allocated memory to zero. Use [_CallocAllocator]
43+
/// Does not initialize newly allocated memory to zero. Use [CallocAllocator]
4444
/// for zero-initialized memory on allocation.
4545
///
4646
/// For POSIX-based systems, this uses `malloc` and `free`. On Windows, it uses
47-
/// `CoTaskMemAlloc`.
47+
/// `CoTaskMemAlloc` and `CoTaskMemFree`.
4848
final class MallocAllocator implements Allocator {
4949
const MallocAllocator._();
5050

0 commit comments

Comments
 (0)