Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Prevent a segfault in MythUIImage, this doesn't fix the root cause of…

… the problem but at least we won't crash. Refs #11047
  • Loading branch information...
commit 178ea5aaa562845e3685ffeff585ea57c6014a64 1 parent 6c3ae81
Stuart Morgan stuartm authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  mythtv/libs/libmythui/mythuiimage.cpp
3  mythtv/libs/libmythui/mythuiimage.cpp
View
@@ -1551,7 +1551,8 @@ void MythUIImage::customEvent(QEvent *event)
++it)
{
MythImage *im = (*it).first;
- im->DecrRef();
+ if (im)
+ im->DecrRef();
}
delete animationFrames;
Please sign in to comment.
Something went wrong with that request. Please try again.