xref: /netbsd-src/external/public-domain/sqlite/man/sqlite3_snapshot_free.3 (revision b9988867a8ad969c45a52aa7628bc932ec98d46b)
1.Dd January 24, 2024
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.In sqlite3.h
9.Ft void
10.Fo sqlite3_snapshot_free
11.Fa "sqlite3_snapshot*"
12.Fc
13.Sh DESCRIPTION
14The sqlite3_snapshot_free(P) interface destroys
15sqlite3_snapshot P.
16The application must eventually free every sqlite3_snapshot
17object using this routine to avoid a memory leak.
18.Pp
19The
20.Fn sqlite3_snapshot_free
21interface is only available when the SQLITE_ENABLE_SNAPSHOT
22compile-time option is used.
23.Sh IMPLEMENTATION NOTES
24These declarations were extracted from the
25interface documentation at line 10568.
26.Bd -literal
27SQLITE_API SQLITE_EXPERIMENTAL void sqlite3_snapshot_free(sqlite3_snapshot*);
28.Ed
29.Sh SEE ALSO
30.Xr sqlite3_snapshot 3
31