[Kde-hardware-devel] Review Request 126096: Fix memory leak in kscreen backend of libkscreen

Lamarque Souza lamarque at kde.org
Tue Nov 17 16:31:24 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126096/
-----------------------------------------------------------

(Updated Nov. 17, 2015, 4:31 p.m.)


Review request for Plasma, Solid and Daniel Vrátil.


Changes
-------

Use XCB::ScopedPointer as suggested.


Repository: libkscreen


Description
-------

libkscreen needs to free memory of xcb_randr_get_screen_resources_reply.


Diffs (updated)
-----

  backends/xrandr/xrandrscreen.cpp 8df957e 

Diff: https://git.reviewboard.kde.org/r/126096/diff/


Testing
-------

No memory leak and everything still works.


Thanks,

Lamarque Souza

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20151117/cf1f9e98/attachment.html>


More information about the Kde-hardware-devel mailing list