graesslin accepted this revision. graesslin added a comment. This revision is now accepted and ready to land.
An alternative could be to use QScopedPointer or std::unique_ptr with XFree as the deleter. REPOSITORY R102 KInfoCenter REVISION DETAIL https://phabricator.kde.org/D6566 To: madcatx, graesslin Cc: graesslin, broulik, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas
