.Dd January 24, 2024 .Dt SQLITE3_SNAPSHOT_FREE 3 .Os .Sh NAME .Nm sqlite3_snapshot_free .Nd destroy a snapshot .Sh SYNOPSIS .In sqlite3.h .Ft void .Fo sqlite3_snapshot_free .Fa "sqlite3_snapshot*" .Fc .Sh DESCRIPTION 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. .Pp The .Fn sqlite3_snapshot_free interface is only available when the SQLITE_ENABLE_SNAPSHOT compile-time option is used. .Sh IMPLEMENTATION NOTES These declarations were extracted from the interface documentation at line 10568. .Bd -literal SQLITE_API SQLITE_EXPERIMENTAL void sqlite3_snapshot_free(sqlite3_snapshot*); .Ed .Sh SEE ALSO .Xr sqlite3_snapshot 3