Index: src/ch/MainWnd.cpp =================================================================== diff -u -N -ra27d1acf1bda3c25b6dcce0d0eb0278009ce63ae -r8dc649003961dad64b92da67426814fb5dd862e0 --- src/ch/MainWnd.cpp (.../MainWnd.cpp) (revision a27d1acf1bda3c25b6dcce0d0eb0278009ce63ae) +++ src/ch/MainWnd.cpp (.../MainWnd.cpp) (revision 8dc649003961dad64b92da67426814fb5dd862e0) @@ -748,8 +748,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) { @@ -762,7 +760,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; }