diff options
author | Alexander Tkachev | 2016-05-22 00:07:20 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | c4b1fdc72752516a81b83490035d8f71357d045b (patch) | |
tree | 03e995f1b9601702c389dcfec5da903b2799514d /backends/networking/curl/request.h | |
parent | b570499164bf94fc4735bad54e7a722498ae56ea (diff) | |
download | scummvm-rg350-c4b1fdc72752516a81b83490035d8f71357d045b.tar.gz scummvm-rg350-c4b1fdc72752516a81b83490035d8f71357d045b.tar.bz2 scummvm-rg350-c4b1fdc72752516a81b83490035d8f71357d045b.zip |
CLOUD: Fix Request destructor
It now contains not a pointer to a function, but an actual pointer,
which must be freed.
Diffstat (limited to 'backends/networking/curl/request.h')
-rw-r--r-- | backends/networking/curl/request.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/networking/curl/request.h b/backends/networking/curl/request.h index d3efd588dc..37cb3884ca 100644 --- a/backends/networking/curl/request.h +++ b/backends/networking/curl/request.h @@ -38,7 +38,7 @@ protected: public: Request(Common::BaseCallback<> *cb): _callback(cb) {}; - virtual ~Request() {}; + virtual ~Request() { delete _callback; }; /** * Method, which does actual work. Depends on what this Request is doing. |