From 5cce56199bdd74d8862da51d3a0bd7a748b42520 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 9 Sep 2011 23:57:52 +0200 Subject: [PATCH] conf: export config_param_free() --- src/conf.c | 2 +- src/conf.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/conf.c b/src/conf.c index 155e75207..66d8b2643 100644 --- a/src/conf.c +++ b/src/conf.c @@ -143,7 +143,7 @@ config_new_param(const char *value, int line) return ret; } -static void +void config_param_free(struct config_param *param) { g_free(param->value); diff --git a/src/conf.h b/src/conf.h index d91d464ce..815c739b1 100644 --- a/src/conf.h +++ b/src/conf.h @@ -217,6 +217,9 @@ G_GNUC_MALLOC struct config_param * config_new_param(const char *value, int line); +void +config_param_free(struct config_param *param); + void config_add_block_param(struct config_param * param, const char *name, const char *value, int line);