phonon-mplayer/Effect.cpp Effect::parameterValue
and
phonon-mplayer/MediaController::interfaceCall
both return a QVariant containing a pointer to another QVariant in an
error condition.
This creates a memory leak (the newly created QVariants never get deleted)
and breaks error handling (calling applications checking if the returned
QVariant isValid() will wrongfully assume it is valid -- the pointer to an
invalid QVariant is a valid QVariant).
Fix attached.
Original issue reported on code.google.com by bero%ark...@gtempaccount.com on 4 Mar 2009 at 2:36
Original issue reported on code.google.com by
bero%ark...@gtempaccount.com
on 4 Mar 2009 at 2:36Attachments: