Commit c45fbbdf authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix memory leak (legacy of CID 92)

parent 90ab0701
......@@ -134,6 +134,7 @@ mediacontrol_get_media_position( mediacontrol_Instance *self,
if( an_origin != mediacontrol_AbsolutePosition )
{
free( retval );
/* Relative or ModuloPosition make no sense */
RAISE_NULL( mediacontrol_PositionOriginNotSupported,
"Only absolute position is valid." );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment