MCPcopy Create free account
hub / github.com/BlueAndi/Pixelix / clearPayload

Method clearPayload

lib/AsyncHttpClient/src/HttpResponse.cpp:275–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273}
274
275void HttpResponse::clearPayload()
276{
277 if (nullptr != m_payload)
278 {
279 DataAllocator allocator;
280
281 allocator.deallocateArray(m_payload);
282 m_payload = nullptr;
283 }
284
285 m_size = 0U;
286}
287
288/******************************************************************************
289 * External Functions

Callers

nothing calls this directly

Calls 1

deallocateArrayMethod · 0.80

Tested by

no test coverage detected