diff options
Diffstat (limited to 'src/kvstorage_config.c')
-rw-r--r-- | src/kvstorage_config.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/kvstorage_config.c b/src/kvstorage_config.c index 2bf905cae..0dbad5380 100644 --- a/src/kvstorage_config.c +++ b/src/kvstorage_config.c @@ -465,3 +465,12 @@ get_kvstorage_config (gint id) } return g_hash_table_lookup (storages, &id); } + +void +destroy_kvstorage_config (void) +{ + if (storages != NULL) { + g_hash_table_destroy (storages); + storages = NULL; + } +} |