D21262: Fix memory leak

Aleix Pol Gonzalez <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
apol added inline comments.

INLINE COMMENTS

> xkb.cpp:297
>  
>      QTemporaryFile *tmp = new QTemporaryFile(this);
>      if (!tmp->open()) {

How about using QScopedPointer<>?

REPOSITORY
  R108 KWin

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

To: tcanabrava
Cc: apol, kwin, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.