CLOUD: Fix Requests destructors
I forgot to delete callbacks!
This commit is contained in:
parent
827c7e43da
commit
b74d7a6861
5 changed files with 14 additions and 6 deletions
|
@ -34,7 +34,7 @@ namespace Networking {
|
|||
CurlJsonRequest::CurlJsonRequest(JsonCallback cb, Common::String url):
|
||||
CurlRequest(0, url), _jsonCallback(cb), _contentsStream(DisposeAfterUse::YES) {}
|
||||
|
||||
CurlJsonRequest::~CurlJsonRequest() {}
|
||||
CurlJsonRequest::~CurlJsonRequest() { delete _jsonCallback; }
|
||||
|
||||
char *CurlJsonRequest::getPreparedContents() {
|
||||
//write one more byte in the end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue