VirtualBox

Changeset 85735 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Aug 12, 2020 8:48:55 PM (4 years ago)
Author:
vboxsync
Message:

Main/HostUpdateImpl.cpp: Make sure the RTHTTP instance is always destroyed, even in std::bad_alloc and whatnot cases. bugref:7983

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/HostUpdateImpl.h

    r85730 r85735  
    2323
    2424#include "HostUpdateWrap.h"
     25#include <iprt/http.h> /* RTHTTP */
    2526
    2627
     
    5253    HRESULT i_updateCheckTask(UpdateCheckTask *pTask);
    5354    HRESULT i_checkForVBoxUpdate();
     55    HRESULT i_checkForVBoxUpdateInner(RTHTTP hHttp, com::Utf8Str const &strUrl, com::Utf8Str const &strUserAgent,
     56                                      ComPtr<ISystemProperties> const &ptrSystemProperties);
    5457
    5558    /** @name Data members.
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