mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-05-05 01:48:06 +02:00
device-supply: Fix leak of serial_number string
This commit is contained in:
parent
71f1908683
commit
4fca99a819
1 changed files with 1 additions and 0 deletions
|
|
@ -991,6 +991,7 @@ up_device_supply_refresh_device (UpDeviceSupply *supply,
|
|||
supply->priv->has_coldplug_values = TRUE;
|
||||
|
||||
g_free (model_name);
|
||||
g_free (serial_number);
|
||||
}
|
||||
|
||||
/* get a precise percentage */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue