Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MythUI: Fix use after free in MythUIEditBar
The call to ReleaseImages() in MythUIEditBar's dtor caused a free memory read since SetRedraw() accesses its parent whose dtor has already been called. Calling ReleaseImages() from MythUIEditBar's dtor also isn't necessary since the images in m_images are children of MythUIEditBar and are automatically deleted by Qt. Fixes #11458, Refs #11402
- Loading branch information