---
title: kCFAllocatorMallocZone
framework: corefoundation
role: symbol
role_heading: Global Variable
path: corefoundation/kcfallocatormalloczone
---

# kCFAllocatorMallocZone

This allocator explicitly uses the default malloc zone, returned by malloc_default_zone().

## Declaration

```swift
let kCFAllocatorMallocZone: CFAllocator!
```

## Discussion

Discussion You should only use this when an object is safe to be allocated in non-scanned memory.

## See Also

### Constants

- [kCFAllocatorDefault](corefoundation/kcfallocatordefault.md)
- [kCFAllocatorSystemDefault](corefoundation/kcfallocatorsystemdefault.md)
- [kCFAllocatorMalloc](corefoundation/kcfallocatormalloc.md)
- [kCFAllocatorNull](corefoundation/kcfallocatornull.md)
- [kCFAllocatorUseContext](corefoundation/kcfallocatorusecontext.md)
