Commit 789fa874 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

MediaPlayer: Fix memory leak

parent 621bd03b
......@@ -683,6 +683,7 @@ std::vector<TrackDescription> MediaPlayer::getTracksDescription(libvlc_track_des
result.push_back( TrackDescription( p ) );
p = p->p_next;
}
libvlc_track_description_list_release(tracks);
return result;
}
......
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