]> git.sesse.net Git - vlc/commit
Qt: Avoid using dangling pointers and fix memleaks
authorHugo Beauzée-Luyssen <hugo@beauzee.fr>
Thu, 22 May 2014 09:41:20 +0000 (12:41 +0300)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 22 May 2014 10:23:51 +0000 (12:23 +0200)
commit1dc8bb493e6e1a4e78131aea4c9f369330dec25e
tree6600b5c0b1d3f766909701985a920b93e0a0722a
parentd8dd5522c4085ccbed412d6ab679f49c27671203
Qt: Avoid using dangling pointers and fix memleaks

The pointer returned is only valid for the statement calling the
function. The temporary QByteArray falls out of scope immediatly after

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/qt4/recents.cpp