mirror of
https://gitlab.freedesktop.org/upower/power-profiles-daemon.git
synced 2026-05-06 07:58:05 +02:00
ppd-driver: Clear performance degraded value on finalize
We were missing this, thus leaking.
This commit is contained in:
parent
4ece7c2bf2
commit
3c037f1c74
1 changed files with 1 additions and 0 deletions
|
|
@ -117,6 +117,7 @@ ppd_driver_finalize (GObject *object)
|
|||
|
||||
priv = PPD_DRIVER_GET_PRIVATE (PPD_DRIVER (object));
|
||||
g_clear_pointer (&priv->driver_name, g_free);
|
||||
g_clear_pointer (&priv->performance_degraded, g_free);
|
||||
|
||||
G_OBJECT_CLASS (ppd_driver_parent_class)->finalize (object);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue