Changeset 23907 in vbox for trunk/include
- Timestamp:
- Oct 20, 2009 3:27:40 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 53708
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/com/string.h
r22173 r23907 230 230 if (pstr) 231 231 { 232 *pstr = NULL; 232 if (*pstr) 233 { 234 ::SysFreeString (*pstr); 235 *pstr = NULL; 236 } 233 237 raw_copy (*pstr, bstr); 234 238 } … … 412 416 if (pstr) 413 417 { 414 *pstr = NULL; 418 if (*pstr) 419 { 420 ::SysFreeString (*pstr); 421 *pstr = NULL; 422 } 415 423 Bstr::raw_copy(*pstr, m_psz); 416 424 }
Note:
See TracChangeset
for help on using the changeset viewer.