On Win32, using QT 4.7.1, why do I always get a "trying to free an invalid heap pointer" crash when the following goes out of scope:
every time !!!Qt Code:
{ QList<QPrinterInfo> list = QPrinterInfo::availablePrinters(); // ... some more code (or no code at all) }To copy to clipboard, switch view to plain text mode
The crash happens in the C++ destructor of QList<QPrinterInfo>.
It happens irrespective of current thread (GUI or otherwise).
I had the problem in 4.5.3.It went away in 4.6.2 but it is back in 4.7.1.
Any help would be greatly appreciated.
Bookmarks