From 21a8c709b8579e5a1b33f509278930e28256ebd6 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sun, 31 May 2015 19:34:11 +0000 Subject: Dropbox: one more time git-svn-id: http://svn.miranda-ng.org/main/trunk@13950 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Dropbox/src/http_request.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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; -- cgit v1.2.3