VirtualBox

Ignore:
Timestamp:
Oct 15, 2020 10:31:09 AM (4 years ago)
Author:
vboxsync
Message:

IPRT/tstRTInlineAsm.cpp: Mark cache association string leak. bugref:9841

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstRTInlineAsm.cpp

    r85963 r86585  
    120120        return "???";
    121121
    122     char *pszRet;
    123     RTStrAPrintf(&pszRet, "%d way", u);     /* intentional leak! */
     122    char *pszRet = NULL;
     123    RTStrAPrintf(&pszRet, "%d way", u);
     124    RTMEM_WILL_LEAK(pszRet);
    124125    return pszRet;
    125126}
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