summaryrefslogtreecommitdiff
path: root/include/m_netlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_netlib.h')
-rw-r--r--include/m_netlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/m_netlib.h b/include/m_netlib.h
index 53a1273213..cc5fce541a 100644
--- a/include/m_netlib.h
+++ b/include/m_netlib.h
@@ -552,7 +552,7 @@ public:
__inline NETLIBHTTPREQUEST* operator->() const { return _p; }
__inline ~NLHR_PTR()
{
- CallService(MS_NETLIB_FREEHTTPREQUESTSTRUCT, 0, (LPARAM)(NETLIBHTTPREQUEST*)this);
+ CallService(MS_NETLIB_FREEHTTPREQUESTSTRUCT, 0, (LPARAM)(NETLIBHTTPREQUEST*)_p);
}
};
#endif