Free a Value returned by fetch()
More...
Free a Value returned by fetch()
- Parameters
-
[in] | store | Store retrieved via open() |
[out] | ptr | Value to be freed |
◆ store_bdb_free()
static void store_bdb_free |
( |
StoreHandle * |
store, |
|
|
void ** |
ptr |
|
) |
| |
|
static |
◆ store_gdbm_free()
static void store_gdbm_free |
( |
StoreHandle * |
store, |
|
|
void ** |
ptr |
|
) |
| |
|
static |
◆ 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 |
◆ store_qdbm_free()
static void store_qdbm_free |
( |
StoreHandle * |
store, |
|
|
void ** |
ptr |
|
) |
| |
|
static |
◆ store_rocksdb_free()
static void store_rocksdb_free |
( |
StoreHandle * |
store, |
|
|
void ** |
ptr |
|
) |
| |
|
static |
◆ store_tokyocabinet_free()
static void store_tokyocabinet_free |
( |
StoreHandle * |
store, |
|
|
void ** |
ptr |
|
) |
| |
|
static |
◆ store_tdb_free()
static void store_tdb_free |
( |
StoreHandle * |
store, |
|
|
void ** |
ptr |
|
) |
| |
|
static |