| 273 | } |
| 274 | |
| 275 | void 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 |
nothing calls this directly
no test coverage detected