kv_release_config()

#include <kvstore.h>

kv_error_t 
kv_release_config(kv_config_t **config) 

Releases the resources used by a KV Store configuration object. This function should only be called if an error occurs when kv_open_store() or kv_open_store_login() is called. The kv_config_t structure was initially allocated using kv_create_config().

Parameters

  • config

    The config parameter is the configuration structure that you want to release.