Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
5.1.0 Beta 1
-
None
-
Windows 8 x64, Qt 5.1.0 beta 1 statically compiled with MSVC2012 x64
Description
Using QString::number causes memory leaks. Follows a piece of code that causes the problem.
void memory_leak_function()
{
QString test_string;
for(quint32 k=0; k<5000000; k++)
}
Qt 5.1.0 beta 1 static compile MSVC2012 x64 on Windows 8 x64:
Used memory before calling memory_leak_function: 25 MB.
Used memory after calling memory_leak_function: 180 MB.
Qt 5.0.2 static compile MSVC2012 x64 on Windows 8 x64:
Used memory before calling memory_leak_function: 25 MB.
Used memory after calling memory_leak_function: 25 MB.
Attachments
Issue Links
- is required for
-
QTBUG-31105 Qt 5.1 RC1 release tasks
-
- Closed
-