diff --git a/src/platform/nm-linux-platform.c b/src/platform/nm-linux-platform.c index 4020cdc83c..d91e56a5eb 100644 --- a/src/platform/nm-linux-platform.c +++ b/src/platform/nm-linux-platform.c @@ -2268,7 +2268,7 @@ _new_from_nl_link (NMPlatform *platform, const NMPCache *cache, struct nlmsghdr } if (obj->link.type == NM_LINK_TYPE_WIREGUARD) { - nm_auto_nmpobj NMPObject *lnk_data_now; + nm_auto_nmpobj NMPObject *lnk_data_now = NULL; /* The WireGuard kernel module does not yet send link update * notifications, so we don't actually update the cache. For