Index: src/ch/MainWnd.cpp =================================================================== diff -u -N -rba618764ec3c9221fa704e905a9f807bd85ed4c5 -ra13bee8e2ecd1e8f61be0aa9b51d99acdc43a5d0 --- src/ch/MainWnd.cpp (.../MainWnd.cpp) (revision ba618764ec3c9221fa704e905a9f807bd85ed4c5) +++ src/ch/MainWnd.cpp (.../MainWnd.cpp) (revision a13bee8e2ecd1e8f61be0aa9b51d99acdc43a5d0) @@ -749,8 +749,6 @@ bool bRetrieveFreeSpace = GetPropValue(rConfig); std::vector vShortcuts; - const size_t stSizeBufferSize = 64; - boost::shared_array spSizeBuffer(new wchar_t[stSizeBufferSize]); BOOST_FOREACH(const CString& strShortcutString, vShortcutStrings) { @@ -763,7 +761,7 @@ if(bRetrieveFreeSpace && GetDynamicFreeSpace(tShortcut.m_strPath, &ullSize, NULL)) { CString strNameFormat; - strNameFormat.Format(_T("%s (%s)"), tShortcut.m_strName, GetSizeString(ullSize, spSizeBuffer.get(), stSizeBufferSize)); + strNameFormat.Format(_T("%s (%s)"), tShortcut.m_strName, GetSizeString(ullSize)); tShortcut.m_strName = strNameFormat; }