Changeset 129598 in webkit
- Timestamp:
- Sep 25, 2012 11:55:27 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r129591 r129598 1 2012-09-25 Patrick Gansterer <paroga@webkit.org> 2 3 [WIN] Fix ASSERT in BString after r128988. 4 5 * platform/win/BString.cpp: 6 (WebCore::BString::~BString): 7 (WebCore::BString::adoptBSTR): 8 (WebCore::BString::clear): Set pointer to 0 after freeing. 9 1 10 2012-09-25 Yoshifumi Inoue <yosin@chromium.org> 2 11 -
trunk/Source/WebCore/platform/win/BString.cpp
r128988 r129598 107 107 BString::~BString() 108 108 { 109 clear();109 SysFreeString(m_bstr); 110 110 } 111 111 … … 120 120 void BString::adoptBSTR(BSTR bstr) 121 121 { 122 clear();122 SysFreeString(m_bstr); 123 123 m_bstr = bstr; 124 124 } … … 127 127 { 128 128 SysFreeString(m_bstr); 129 m_bstr = 0; 129 130 } 130 131
Note: See TracChangeset
for help on using the changeset viewer.