diff options
| author | Michael Biebl <biebl@debian.org> | 2024-01-25 09:46:18 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2024-01-25 09:46:18 +0100 |
| commit | 70e18d99b8e3e77bb37e218d7ac582130156f8ef (patch) | |
| tree | d40c587e6d3f0e094ff558e415f1bb9803643214 /src/nmtui/nmt-address-list.c | |
| parent | d4d8b2b91f7ba000d97a8b2aab48c85000c11314 (diff) | |
New upstream version 1.45.90 upstream/1.45.90
Diffstat (limited to 'src/nmtui/nmt-address-list.c')
| -rw-r--r-- | src/nmtui/nmt-address-list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nmtui/nmt-address-list.c b/src/nmtui/nmt-address-list.c index dba8e790..ff4bf1a4 100644 --- a/src/nmtui/nmt-address-list.c +++ b/src/nmtui/nmt-address-list.c @@ -194,7 +194,7 @@ nmt_address_list_set_property(GObject *object, g_strfreev(priv->strings); priv->strings = g_value_dup_boxed(value); if (!priv->strings) - priv->strings = g_new0(char *, 1); + priv->strings = nm_strv_empty_new(); nmt_widget_list_set_length(NMT_WIDGET_LIST(object), g_strv_length(priv->strings)); break; default: |