NeoMutt  2025-12-11-694-ga89709
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_gdbm_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_rocksdb_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_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}
#define FREE(x)
Free memory and set the pointer to NULL.
Definition memory.h:68

◆ 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 254 of file lmdb.c.

255{
256 /* LMDB data is owned by the database */
257}

◆ 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_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}