summary refs log tree commit diff
path: root/src/contrib/nm-vpn-editor-plugin-call.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/contrib/nm-vpn-editor-plugin-call.h')
-rw-r--r--src/contrib/nm-vpn-editor-plugin-call.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contrib/nm-vpn-editor-plugin-call.h b/src/contrib/nm-vpn-editor-plugin-call.h
index bf6036ee..2f3eb074 100644
--- a/src/contrib/nm-vpn-editor-plugin-call.h
+++ b/src/contrib/nm-vpn-editor-plugin-call.h
@@ -103,7 +103,7 @@ nm_vpn_editor_plugin_get_service_add_details(NMVpnEditorPlugin *plugin, const ch
     if (vt.fcn_get_service_add_details)
         details = vt.fcn_get_service_add_details(plugin, service_name);
     if (!details)
-        return g_new0(char *, 1);
+        return nm_strv_empty_new();
     return details;
 }