Small. Fast. Reliable.
Choose any three.

SQLite C Interface

Destroy a snapshot

void sqlite3_snapshot_free(sqlite3_snapshot*);

Important: This interface is experimental and is subject to change without notice.

The sqlite3_snapshot_free(P) interface destroys sqlite3_snapshot P. The application must eventually free every sqlite3_snapshot object using this routine to avoid a memory leak.

The sqlite3_snapshot_free() interface is only available when the SQLITE_ENABLE_SNAPSHOT compile-time option is used.

See also lists of Objects, Constants, and Functions.