summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/Dropbox/src/http_request.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dropbox/src/http_request.h b/plugins/Dropbox/src/http_request.h
index b8febb4192..21c14b456b 100644
--- a/plugins/Dropbox/src/http_request.h
+++ b/plugins/Dropbox/src/http_request.h
@@ -172,7 +172,7 @@ public:
__inline explicit NetlibPtr(NETLIBHTTPREQUEST *p) : _p(p) {}
__inline NETLIBHTTPREQUEST* operator=(NETLIBHTTPREQUEST *p)
{
- if (p)
+ if (_p)
CallService(MS_NETLIB_FREEHTTPREQUESTSTRUCT, 0, (LPARAM)(NETLIBHTTPREQUEST*)_p);
_p = p;
return _p;