VirtualBox

Changeset 1962

Show
Ignore:
Timestamp:
04/05/07 18:41:22 (2 years ago)
Author:
vboxsync
Message:

Free old string if present in alloc.

Files:

Legend:

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

    r1961 r1962  
    250250        if (aSize) 
    251251        { 
     252            setNull(); 
    252253#if defined (__WIN__) 
    253254            str = (char *) ::RTMemTmpAlloc (aSize); 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy