VirtualBox

Changeset 83539 in vbox for trunk/src


Ignore:
Timestamp:
Apr 3, 2020 5:01:58 PM (5 years ago)
Author:
vboxsync
Message:

IPRT/RTLdrLoadEx: Apply RTMEM_MAY_LEAK when RTLDRLOAD_FLAGS_NO_UNLOAD is set. bugref:9674

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/ldr/ldrNative.cpp

    r82968 r83539  
    161161        if (RT_SUCCESS(rc))
    162162        {
     163            if (fFlags & RTLDRLOAD_FLAGS_NO_UNLOAD)
     164                RTMEM_MAY_LEAK(pMod);
     165
    163166            *phLdrMod = &pMod->Core;
    164             LogFlow(("RTLdrLoad: returns %Rrc *phLdrMod=%RTldrm\n", rc, *phLdrMod));
     167            LogFlow(("RTLdrLoad: returns %Rrc *phLdrMod=%RTldrm\n", rc,*phLdrMod));
    165168            return rc;
    166169        }
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