mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 08:20:08 +01: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 "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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue