VirtualBox

Changeset 23908 in vbox


Ignore:
Timestamp:
Oct 20, 2009 3:46:10 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53709
Message:

Main: backed out r53708

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/com/string.h

    r23907 r23908  
    230230        if (pstr)
    231231        {
    232             if (*pstr)
    233             {
    234                 ::SysFreeString (*pstr);
    235                 *pstr = NULL;
    236             }
     232            *pstr = NULL;
    237233            raw_copy (*pstr, bstr);
    238234        }
     
    416412        if (pstr)
    417413        {
    418             if (*pstr)
    419             {
    420                 ::SysFreeString (*pstr);
    421                 *pstr = NULL;
    422             }
     414            *pstr = NULL;
    423415            Bstr::raw_copy(*pstr, m_psz);
    424416        }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette