VirtualBox

Changeset 86376 in vbox for trunk


Ignore:
Timestamp:
Oct 1, 2020 12:44:45 PM (4 years ago)
Author:
vboxsync
Message:

IPRT/tstRTCRest-1: fix leaks. bugref:9841

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstRTCRest-1.cpp

    r84903 r86376  
    21682168    { }
    21692169
     2170    ~TestResponse()
     2171    {
     2172        if (m_pStrContentType)
     2173            delete m_pStrContentType;
     2174        if (m_pInteger)
     2175            delete m_pInteger;
     2176        if (m_pMap)
     2177            delete m_pMap;
     2178        if (m_pArray)
     2179            delete m_pArray;
     2180    }
     2181
    21702182protected:
    21712183    virtual int consumeHeader(uint32_t a_uMatchWord, const char *a_pchField, size_t a_cchField,
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