ifcfg-rh: add helper svSetValue_free()

Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
Thomas Haller 2014-05-29 21:00:52 +02:00
parent fedf7ca303
commit b15fea034d

View file

@ -50,6 +50,14 @@
#include "utils.h"
#include "crypto.h"
static void
svSetValue_free (shvarFile *s, const char *key, char *value, gboolean verbatim)
{
svSetValue (s, key, value, verbatim);
g_free (value);
}
static void
save_secret_flags (shvarFile *ifcfg,
const char *key,