VirtualBox

Ignore:
Timestamp:
Apr 19, 2013 8:38:55 AM (12 years ago)
Author:
vboxsync
Message:

Runtime/http: report an error in the worst case

File:
1 edited

Legend:

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

    r45631 r45632  
    299299        RTStrFree(pHttpInt->pcszCAFile);
    300300    pHttpInt->pcszCAFile = RTStrDup(pcszCAFile);
     301    if (!pHttpInt->pcszCAFile)
     302        return VERR_NO_MEMORY;
    301303
    302304    return VINF_SUCCESS;
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