D6566: Do not leak XVisualInfo (X11 EGL path)

Kai Uwe Broulik noreply at phabricator.kde.org
Sat Jul 8 11:10:12 UTC 2017


broulik added a comment.


  Would it make sense to wrap that in a `QScopedPointer` with a custom deleter that calls `XFree`? This way one does not need to remember calling it whenever the function is exited.

REPOSITORY
  R102 KInfoCenter

REVISION DETAIL
  https://phabricator.kde.org/D6566

To: madcatx
Cc: broulik, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170708/ea31092c/attachment.html>


More information about the Plasma-devel mailing list