VirtualBox

Changeset 93141 in vbox


Ignore:
Timestamp:
Jan 7, 2022 4:09:28 PM (3 years ago)
Author:
vboxsync
Message:

IPRT/http-server: Also free pszUrl of RTHTTPSERVERREQ in rtHttpServerReqFree().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/http-server.cpp

    r93115 r93141  
    400400 *
    401401 * @param   pReq                Pointer to client request to free.
     402 *                              The pointer will be invalid on return.
    402403 */
    403404static void rtHttpServerReqFree(PRTHTTPSERVERREQ pReq)
     
    406407        return;
    407408
     409    RTStrFree(pReq->pszUrl);
     410
    408411    RTHttpHeaderListDestroy(pReq->hHdrLst);
    409412
     
    411414
    412415    RTMemFree(pReq);
     416    pReq = NULL;
    413417}
    414418
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