NeoMutt  2024-11-14-138-ge5ca67
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches

Free a Value returned by fetch() More...

+ Collaboration diagram for free():

Functions

static void store_bdb_free (StoreHandle *store, void **ptr)
 Free a Value returned by fetch() - Implements StoreOps::free() -.
 
static void store_gdbm_free (StoreHandle *store, void **ptr)
 Free a Value returned by fetch() - Implements StoreOps::free() -.
 
static void store_kyotocabinet_free (StoreHandle *store, void **ptr)
 Free a Value returned by fetch() - Implements StoreOps::free() -.
 
static void store_lmdb_free (StoreHandle *store, void **ptr)
 Free a Value returned by fetch() - Implements StoreOps::free() -.
 
static void store_qdbm_free (StoreHandle *store, void **ptr)
 Free a Value returned by fetch() - Implements StoreOps::free() -.
 
static void store_rocksdb_free (StoreHandle *store, void **ptr)
 Free a Value returned by fetch() - Implements StoreOps::free() -.
 
static void store_tokyocabinet_free (StoreHandle *store, void **ptr)
 Free a Value returned by fetch() - Implements StoreOps::free() -.
 
static void store_tdb_free (StoreHandle *store, void **ptr)
 Free a Value returned by fetch() - Implements StoreOps::free() -.
 

Detailed Description

Free a Value returned by fetch()

Parameters
[in]storeStore retrieved via open()
[out]ptrValue to be freed

Function Documentation

◆ store_bdb_free()

static void store_bdb_free ( StoreHandle store,
void **  ptr 
)
static

Free a Value returned by fetch() - Implements StoreOps::free() -.

Definition at line 207 of file bdb.c.

208{
209 FREE(ptr);
210}
#define FREE(x)
Definition: memory.h:55

◆ store_gdbm_free()

static void store_gdbm_free ( StoreHandle store,
void **  ptr 
)
static

Free a Value returned by fetch() - Implements StoreOps::free() -.

Definition at line 86 of file gdbm.c.

87{
88 FREE(ptr);
89}

◆ store_kyotocabinet_free()

static void store_kyotocabinet_free ( StoreHandle store,
void **  ptr 
)
static

Free a Value returned by fetch() - Implements StoreOps::free() -.

Definition at line 85 of file kc.c.

86{
87 if (!ptr || !*ptr)
88 return;
89
90 kcfree(*ptr);
91 *ptr = NULL;
92}

◆ store_lmdb_free()

static void store_lmdb_free ( StoreHandle store,
void **  ptr 
)
static

Free a Value returned by fetch() - Implements StoreOps::free() -.

Definition at line 252 of file lmdb.c.

253{
254 /* LMDB data is owned by the database */
255}

◆ store_qdbm_free()

static void store_qdbm_free ( StoreHandle store,
void **  ptr 
)
static

Free a Value returned by fetch() - Implements StoreOps::free() -.

Definition at line 72 of file qdbm.c.

73{
74 FREE(ptr);
75}

◆ store_rocksdb_free()

static void store_rocksdb_free ( StoreHandle store,
void **  ptr 
)
static

Free a Value returned by fetch() - Implements StoreOps::free() -.

Definition at line 146 of file rocksdb.c.

147{
148 FREE(ptr);
149}

◆ store_tokyocabinet_free()

static void store_tokyocabinet_free ( StoreHandle store,
void **  ptr 
)
static

Free a Value returned by fetch() - Implements StoreOps::free() -.

Definition at line 83 of file tc.c.

84{
85 FREE(ptr);
86}

◆ store_tdb_free()

static void store_tdb_free ( StoreHandle store,
void **  ptr 
)
static

Free a Value returned by fetch() - Implements StoreOps::free() -.

Definition at line 85 of file tdb.c.

86{
87 FREE(ptr);
88}