From daf6897fe24e62ae8cf8e42b151ed565563332fe Mon Sep 17 00:00:00 2001 From: Nicolas Noble Date: Fri, 8 Aug 2014 13:34:23 -0700 Subject: Finalizing cares integration. --- includes/Handle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/Handle.h') diff --git a/includes/Handle.h b/includes/Handle.h index 40e52e5..6a087a7 100644 --- a/includes/Handle.h +++ b/includes/Handle.h @@ -160,7 +160,7 @@ class HPrinter : public Handle { class IOBase { private: IOBase() { } - ~IOBase() { if (m_h) m_h->delRef(); } + ~IOBase() { if (m_h) m_h->delRef(); m_h = NULL; } void setHandle(Handle * h) { m_h = h; if (m_h) m_h->addRef(); } Handle * m_h = NULL; template -- cgit v1.2.3