mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 07:48:10 +02:00
ifcfg-rh: add helper svSetValue_free()
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
fedf7ca303
commit
b15fea034d
1 changed files with 8 additions and 0 deletions
|
|
@ -50,6 +50,14 @@
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
#include "crypto.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
|
static void
|
||||||
save_secret_flags (shvarFile *ifcfg,
|
save_secret_flags (shvarFile *ifcfg,
|
||||||
const char *key,
|
const char *key,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue