summaryrefslogtreecommitdiff
path: root/vpn
diff options
context:
space:
mode:
Diffstat (limited to 'vpn')
-rw-r--r--vpn/vpn-provider.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vpn/vpn-provider.c b/vpn/vpn-provider.c
index bb89ccf9..de3931f7 100644
--- a/vpn/vpn-provider.c
+++ b/vpn/vpn-provider.c
@@ -2139,7 +2139,7 @@ static int set_string(struct vpn_provider *provider,
return -EPERM;
}
- setting = g_try_new(struct vpn_setting, 1);
+ setting = g_try_new0(struct vpn_setting, 1);
if (setting == NULL)
return -ENOMEM;