Commit fb9b8c6c authored by Frerich Raabe's avatar Frerich Raabe

- Don't leak PlayObjects. I think this is correct but I'm not sure, I could

  not test it at all since JuK currently refuses to play anything (even
  without this patch ;-), saying "Media did not initialize properly" or such.

svn path=/trunk/kdemultimedia/juk/; revision=235023
parent 49ab41d2
......@@ -68,6 +68,7 @@ void ArtsPlayer::play(float volume)
delete m_media;
m_media = new PlayObject(m_server->createPlayObject(QFile::encodeName(m_currentFile).data()));
// m_media = new PlayObject(m_server->createPlayObject(m_currentFile.latin1()));
if(!m_media->isNull()) {
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