diff options
author | Peter Wu <peter@lekensteyn.nl> | 2014-11-17 22:32:42 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2014-11-26 11:56:10 +0000 |
commit | 73927044cb213030e210b46bbc6e4de3aa41ba16 (patch) | |
tree | c1101693109cd4f160cd1a26080e2d74bc25121e /src/linux/hidpp-device.c | |
parent | d1971e4d1614cf4f589678fcd26bbe0d50b8b0b9 (diff) | |
download | upower-73927044cb213030e210b46bbc6e4de3aa41ba16.tar.gz |
daemon: fix memleak in org.freedesktop.UPower.Wakeups.GetData
up_wakeups_get_cmdline returns allocated memory and
up_wakeup_item_set_cmdline duplicates it. Therefore free the former
after setting it on the item.
https://bugs.freedesktop.org/show_bug.cgi?id=82659
Diffstat (limited to 'src/linux/hidpp-device.c')
0 files changed, 0 insertions, 0 deletions