YTS Team, yamsat Plugin Deallocating the post data buffers
| 8835 | // YTS Team, yamsat Plugin |
| 8836 | // Deallocating the post data buffers |
| 8837 | void |
| 8838 | PostDataBuffers::clear() |
| 8839 | { |
| 8840 | Dbg(dbg_ctl_http_redirect, "[PostDataBuffers::clear]"); |
| 8841 | |
| 8842 | if (this->postdata_copy_buffer != nullptr) { |
| 8843 | free_MIOBuffer(this->postdata_copy_buffer); |
| 8844 | this->postdata_copy_buffer = nullptr; |
| 8845 | this->postdata_copy_buffer_start = nullptr; // deallocated by the buffer |
| 8846 | } |
| 8847 | this->post_data_buffer_done = false; |
| 8848 | } |
| 8849 | |
| 8850 | PostDataBuffers::~PostDataBuffers() |
| 8851 | { |
no test coverage detected