diff --git a/src/core/nm-config-data.c b/src/core/nm-config-data.c index 5f7e953b6a..dd0822adf4 100644 --- a/src/core/nm-config-data.c +++ b/src/core/nm-config-data.c @@ -2088,6 +2088,7 @@ _match_section_infos_construct(GKeyFile *keyfile, gboolean is_device) NULL, NULL, "Invalid [.intern.*] section 'connection' or 'device' found"); + g_free(groups[i]); continue; } else if (g_str_has_prefix(groups[i], prefix)) { groups[j++] = groups[i];