mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-07 07:50:17 +01:00
platform: fix crash after 'fix check_cache_items() to check items in two steps'
Fixes regression introduced by commit 90ab7e83ff.
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
98052255ba
commit
253bfa5c47
1 changed files with 1 additions and 1 deletions
|
|
@ -1292,7 +1292,7 @@ check_cache_items (NMPlatform *platform, struct nl_cache *cache, int ifindex)
|
|||
}
|
||||
|
||||
for (i = 0; i < objects_to_refresh->len; i++)
|
||||
refresh_object (platform, object, TRUE, NM_PLATFORM_REASON_CACHE_CHECK);
|
||||
refresh_object (platform, objects_to_refresh->pdata[i], TRUE, NM_PLATFORM_REASON_CACHE_CHECK);
|
||||
|
||||
g_ptr_array_free (objects_to_refresh, TRUE);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue