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>
Showing
Please register or sign in to comment