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);