Ticket #11047: mythuiimage_decref.patch

File mythuiimage_decref.patch, 540 bytes (added by anonymous, 8 years ago)
  • mythtv/libs/libmythui/mythuiimage.cpp

    diff --git a/mythtv/libs/libmythui/mythuiimage.cpp b/mythtv/libs/libmythui/mythuiimage.cpp
    index 39a474f..c4457ff 100644
    a b void MythUIImage::customEvent(QEvent *event) 
    17411741                     ++it)
    17421742                {
    17431743                    MythImage *im = (*it).first;
    1744                     im->DecrRef();
     1744                    if (im)
     1745                        im->DecrRef();
    17451746                }
    17461747
    17471748                delete animationFrames;