summary refs log tree commit diff
path: root/src/core/nm-config-data.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/nm-config-data.c')
-rw-r--r--src/core/nm-config-data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/nm-config-data.c b/src/core/nm-config-data.c
index c62c6773..d457f505 100644
--- a/src/core/nm-config-data.c
+++ b/src/core/nm-config-data.c
@@ -437,7 +437,7 @@ static NMAuthPolkitMode
 _config_data_get_main_auth_polkit(const NMConfigData *self, gboolean *out_invalid_config)
 {
     NMAuthPolkitMode auth_polkit_mode;
-    const char *     str;
+    gs_free char *   str = NULL;
 
     str              = nm_config_data_get_value(self,
                                    NM_CONFIG_KEYFILE_GROUP_MAIN,