void mupnp_xml_nodelist_delete(mUpnpXmlNodeList *nodeList) { mupnp_log_debug_l4("Entering...\n"); mupnp_xml_nodelist_clear(nodeList); free(nodeList); mupnp_log_debug_l4("Leaving...\n"); }
void mupnp_soap_request_clear(mUpnpSoapRequest *soapReq) { mupnp_log_debug_l4("Entering...\n"); mupnp_xml_nodelist_clear(soapReq->rootNodeList); if (soapReq->isHttpReqCreated == true) mupnp_http_request_delete(soapReq->httpReq); soapReq->httpReq = mupnp_http_request_new(); soapReq->isHttpReqCreated = true; mupnp_http_request_setcontenttype(soapReq->httpReq, MUPNP_SOAP_CONTENT_TYPE); mupnp_http_request_setmethod(soapReq->httpReq, MUPNP_HTTP_POST); mupnp_log_debug_l4("Leaving...\n"); }