conf: export config_param_free()

This commit is contained in:
Max Kellermann 2011-09-09 23:57:52 +02:00
parent 3cc12817f6
commit 5cce56199b
2 changed files with 4 additions and 1 deletions

View File

@ -143,7 +143,7 @@ config_new_param(const char *value, int line)
return ret; return ret;
} }
static void void
config_param_free(struct config_param *param) config_param_free(struct config_param *param)
{ {
g_free(param->value); g_free(param->value);

View File

@ -217,6 +217,9 @@ G_GNUC_MALLOC
struct config_param * struct config_param *
config_new_param(const char *value, int line); config_new_param(const char *value, int line);
void
config_param_free(struct config_param *param);
void void
config_add_block_param(struct config_param * param, const char *name, config_add_block_param(struct config_param * param, const char *name,
const char *value, int line); const char *value, int line);