summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libnm-core/nm-vpn-plugin-info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-core/nm-vpn-plugin-info.c b/libnm-core/nm-vpn-plugin-info.c
index 9ffa04706a..ec630fff15 100644
--- a/libnm-core/nm-vpn-plugin-info.c
+++ b/libnm-core/nm-vpn-plugin-info.c
@@ -678,7 +678,7 @@ nm_vpn_plugin_info_get_auth_dialog (NMVpnPluginInfo *self)
else if (g_path_is_absolute (s))
priv->auth_dialog = g_strdup (s);
else {
- gs_free char *prog_basename;
+ gs_free char *prog_basename = NULL;
/* for relative paths, we take the basename and assume it's in LIBEXECDIR. */
prog_basename = g_path_get_basename (s);