mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 15:50:29 +00:00
modem-manager: plug udev client leak
The GUdevClient is created when the ModemManager sysfs path is inhibited; we need to make sure we destroy the object once uninhibited, or we'll otherwise create a new one if we're running an additional upgrade operation afterwards.
This commit is contained in:
parent
4cbe99c607
commit
b0418d7786
@ -62,6 +62,8 @@ fu_plugin_mm_uninhibit_device (FuPlugin *plugin)
|
||||
FuPluginData *priv = fu_plugin_get_data (plugin);
|
||||
g_autoptr(FuPluginMmInhibitedDeviceInfo) info = NULL;
|
||||
|
||||
g_clear_object (&priv->udev_client);
|
||||
|
||||
/* get the device removed from the plugin cache before uninhibiting */
|
||||
fu_plugin_mm_udev_device_removed (plugin);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user