VirtualBox

Changeset 26723 in vbox for trunk


Ignore:
Timestamp:
Feb 23, 2010 7:39:36 PM (15 years ago)
Author:
vboxsync
Message:

RTStrATruncate: bugfix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/string/stringalloc.cpp

    r26482 r26723  
    259259            *pszOld = '\0';
    260260            char *pszNew = (char *)RTMemRealloc(pszOld, 1);
    261             if (!pszNew)
     261            if (pszNew)
    262262                *ppsz = pszNew;
    263263        }
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