VirtualBox

Changeset 55022 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Mar 31, 2015 10:31:10 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
99304
Message:

ConsoleImpl2: fixed possible memory leak in error case

File:
1 edited

Legend:

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

    r54911 r55022  
    56415641            for (unsigned i = 0; RT_SUCCESS(rc) && i < cProps; ++i)
    56425642            {
    5643                 AssertPtrReturn(namesOut[i], VERR_INVALID_PARAMETER);
     5643                AssertPtrBreakStmt(namesOut[i], rc = VERR_INVALID_PARAMETER);
    56445644                rc = RTUtf16ToUtf8(namesOut[i], &papszNames[i]);
    56455645                if (RT_FAILURE(rc))
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