Client APIs
API Reference Overview
Allocate `size` bytes of memory using the duckdb internal malloc function. Any memory allocated in this manner
should be freed using `duckdb_free`.  
###### Syntax {#docs:api:c:api::syntax}  
```c
void *duckdb_malloc(
size_t size
);
```  
###### Parameters {#docs:api:c:api::parameters}  
* `size`: The number of bytes to allocate.  
###### Return Value {#docs:api:c:api::return-value}  
A pointer to the allocated memory region.  
<br>