<table><tr><td style="">wbauer updated this revision to Diff 15883.<br />wbauer edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-n6poacuvpbtzaqq/" rel="noreferrer">(Show Details)</a><br />wbauer added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D6389" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>Use a QScopedPointer instead of manually calling free()</p></div></div><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>But it should always be freed of course (as long as it isn't NULL).<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
<br />
Use a QScopedPointer instead to free it automatically when it goes out of scope and to be more consistent with the rest of the code.<br />
</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D6389?vs=15869&id=15883" rel="noreferrer">https://phabricator.kde.org/D6389?vs=15869&id=15883</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D6389" rel="noreferrer">https://phabricator.kde.org/D6389</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>xembed-sni-proxy/sniproxy.cpp</div></div></div><br /><div><strong>To: </strong>wbauer, davidedmundson<br /><strong>Cc: </strong>plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas<br /></div>