mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-06 16:11:00 +00:00
trivial: Fix a tiny memory leak caused by VENDOR_FROM_PARENT
This commit is contained in:
parent
be6af6d11c
commit
165b450e80
@ -358,7 +358,7 @@ fu_udev_device_set_vendor_from_parent(FuUdevDevice *self)
|
||||
fu_udev_device_set_vendor_from_udev_device(self, parent);
|
||||
if (priv->vendor != 0x0 || priv->model != 0x0 || priv->revision != 0x0)
|
||||
break;
|
||||
g_set_object(&udev_device, g_steal_pointer(&parent));
|
||||
g_set_object(&udev_device, parent);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user