summaryrefslogtreecommitdiff
path: root/clients/tui/nmt-page-team.c
diff options
context:
space:
mode:
Diffstat (limited to 'clients/tui/nmt-page-team.c')
-rw-r--r--clients/tui/nmt-page-team.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/tui/nmt-page-team.c b/clients/tui/nmt-page-team.c
index af84db4b81..a3d9d53a6c 100644
--- a/clients/tui/nmt-page-team.c
+++ b/clients/tui/nmt-page-team.c
@@ -103,7 +103,7 @@ edit_clicked (NmtNewtButton *button,
new_config = nmt_newt_edit_string (config);
if (new_config && !*new_config)
- g_clear_pointer (&new_config, g_free);
+ nm_clear_g_free (&new_config);
g_object_set (G_OBJECT (priv->s_team),
NM_SETTING_TEAM_CONFIG, new_config,
NULL);