VirtualBox

Changeset 57728 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 12, 2015 12:49:32 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
102643
Message:

RTHttpDestroy: duh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/http.cpp

    r57727 r57728  
    229229    RTStrFree(pThis->pszProxyHost);
    230230    RTStrFree(pThis->pszProxyUsername);
    231     RTMemWipeThoroughly(pThis->pszProxyPassword, strlen(pThis->pszProxyPassword), 2);
    232     RTStrFree(pThis->pszProxyPassword);
     231    if (pThis->pszProxyPassword)
     232    {
     233        RTMemWipeThoroughly(pThis->pszProxyPassword, strlen(pThis->pszProxyPassword), 2);
     234        RTStrFree(pThis->pszProxyPassword);
     235    }
    233236
    234237    RTMemFree(pThis);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette