VirtualBox

Changeset 1962 in vbox


Ignore:
Timestamp:
Apr 5, 2007 4:41:22 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
20235
Message:

Free old string if present in alloc.

File:
1 edited

Legend:

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

    r1961 r1962  
    250250        if (aSize)
    251251        {
     252            setNull();
    252253#if defined (__WIN__)
    253254            str = (char *) ::RTMemTmpAlloc (aSize);
Note: See TracChangeset for help on using the changeset viewer.

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