Name

sqlite3_free() — Free a memory allocation

Definition

void sqlite3_free( void* ptr );
ptr

A pointer to a memory allocation.

Description

This function releases a memory block that was previously allocated with sqlite3_malloc() or sqlite3_realloc(). This should not be used to release memory acquired through a native malloc() or new call.

Get Using SQLite now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.