m_frame is unref without checking if it's null and it causes a segfault
Created attachment 20237 [details] m_frame unref
Comment on attachment 20237 [details] m_frame unref This looks wrong to me. I don't think this should be done in these detachedFromParent calls, and certainly not in both the (1) and (2) versions!
(In reply to comment #2) > (From update of attachment 20237 [details] [edit]) > This looks wrong to me. I don't think this should be done in these > detachedFromParent calls, and certainly not in both the (1) and (2) versions! > Actually the only one was the (4) and it segfaulted. Adding the check on m_frame fixed it. I thought it would work similar with the others but I did not find anybody to explain to me how it works with frames. So keep it as WORKSFORME and feel free to update the patch.
Comment on attachment 20237 [details] m_frame unref r- based on Darin's comment.