Qt: remove a suspicious delete
in Qt doc about QMainWindow, about statusBar() and setStatusBar(), it reads : "Note that QMainWindow takes ownership of the statusbar pointer and deletes it at the appropriate time." So, trying to delete the pointer returned by statusBar() can but end up in a double free at some point.
Showing
Please register or sign in to comment