VirtualBox

Changeset 86422 in vbox for trunk/src/libs


Ignore:
Timestamp:
Oct 2, 2020 12:37:01 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
140723
Message:

xpcom/TestXPTCInvoke: two leaks. bugref:9841

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/reflect/xptcall/tests/TestXPTCInvoke.cpp

    r1 r86422  
    900900   
    901901    if(NS_SUCCEEDED(XPTC_InvokeByIndex(test, 15, 3, var)))
     902    {
    902903        printf(" = %s\n", var[2].val.p);
     904        nsMemory::Free(var[2].val.p);
     905    }
    903906    else
    904907        printf("\tFAILED");
     
    908911    // Disabled by default - takes too much time on slow machines
    909912    //DoSpeedTest();
     913
     914    NS_RELEASE(test);
    910915
    911916    return 0;
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