Public bug reported:
upower-glib get_devices() has been deprecated and get_devices2() was
introduced.
The existing code leaks all the UpDevice objects because no free
function was set on the returned GPtrArray. Simply switching to
get_devices2() does set a free function on the returned GPtrArray,
stopping the leak.
** Affects: mate-power-manager (Ubuntu)
Importance: High
Assignee: Martin Wimpress (flexiondotorg)
Status: In Progress
** Changed in: mate-power-manager (Ubuntu)
Status: New => In Progress
** Changed in: mate-power-manager (Ubuntu)
Importance: Undecided => High
** Changed in: mate-power-manager (Ubuntu)
Assignee: (unassigned) => Martin Wimpress (flexiondotorg)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1845472
Title:
mate-power-manager using deprecated get_devices() and leaks UpDevice
objects
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mate-power-manager/+bug/1845472/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs