Commit 99841c12 authored by Michael Pyne's avatar Michael Pyne
Browse files

Backport null pointer check to KDE 4.4.2. Merci trés bien to aseigo for noting in trunk.

Trunk commit was r1106034

svn path=/branches/KDE/4.4/kdemultimedia/juk/; revision=1106103
parent 29f7b1d5
......@@ -52,7 +52,7 @@ Tag::Tag(const QString &fileName) :
TagLib::File *file = MediaFiles::fileFactoryByType(fileName);
if(file->isValid()) {
if(file && file->isValid()) {
delete file;
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