diff options
Diffstat (limited to 'src/config/config.c')
-rw-r--r-- | src/config/config.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/config/config.c b/src/config/config.c index fbaf7d8..4db1134 100644 --- a/src/config/config.c +++ b/src/config/config.c @@ -198,6 +198,16 @@ mq_config_new(const gchar *profile, MqConfigProfile profile_type) return config; } +void +mq_config_deref(MqConfig *config) +{ + g_free(config->profile); + g_free(config->file_name); + g_key_file_unref(config->key_file); + g_hash_table_unref(config->types_and_cbs); + g_free(config); +} + gboolean mq_config_load(MqConfig *config) { |