xref: /netbsd-src/external/public-domain/sqlite/man/sqlite3_snapshot_free.3 (revision c38e7cc395b1472a774ff828e46123de44c628e9)
1.Dd March 11, 2017
2.Dt SQLITE3_SNAPSHOT_FREE 3
3.Os
4.Sh NAME
5.Nm sqlite3_snapshot_free
6.Nd Destroy a snapshot
7.Sh SYNOPSIS
8.Ft void
9.Fo sqlite3_snapshot_free
10.Fa "sqlite3_snapshot*"
11.Fc
12.Sh DESCRIPTION
13The sqlite3_snapshot_free(P) interface destroys
14sqlite3_snapshot P.
15The application must eventually free every sqlite3_snapshot
16object using this routine to avoid a memory leak.
17.Pp
18The sqlite3_snapshot_free() interface is only
19available when the SQLITE_ENABLE_SNAPSHOT compile-time option is used.
20.Sh SEE ALSO
21.Xr sqlite3_snapshot 3 ,
22.Xr sqlite3_snapshot_free 3
23