Skip to content

Commit

Permalink
Prevent a segfault in MythUIImage, this doesn't fix the root cause of…
Browse files Browse the repository at this point in the history
… the problem but at least we won't crash. Refs #11047
  • Loading branch information
stuartm committed Oct 2, 2012
1 parent 6c3ae81 commit 178ea5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mythtv/libs/libmythui/mythuiimage.cpp
Expand Up @@ -1551,7 +1551,8 @@ void MythUIImage::customEvent(QEvent *event)
++it)
{
MythImage *im = (*it).first;
im->DecrRef();
if (im)
im->DecrRef();
}

delete animationFrames;
Expand Down

0 comments on commit 178ea5a

Please sign in to comment.