VirtualBox

Changeset 22867 in vbox for trunk


Ignore:
Timestamp:
Sep 9, 2009 3:26:10 PM (15 years ago)
Author:
vboxsync
Message:

ConsoleImpl2.cpp: Minore BSTR leak (not on branches). Good pratice to keep initialized variables on separate lines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r22866 r22867  
    823823        cModes++;
    824824    }
     825    STR_FREE();
    825826    rc = CFGMR3InsertInteger(pCfg,  "CustomVideoModes", cModes);
    826827
     
    28592860        AssertMsgReturn(SUCCEEDED(hrc), ("hrc=%#x\n", hrc),
    28602861                        VERR_GENERAL_FAILURE);
    2861         size_t cProps = namesOut.size(), cAlloc = cProps + 1;
     2862        size_t cProps = namesOut.size();
     2863        size_t cAlloc = cProps + 1;
    28622864        if (   valuesOut.size() != cProps
    28632865            || timestampsOut.size() != cProps
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