From 9ba194a7f9a4aa3747d41809146338bbf06e1a23 Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Fri, 13 Apr 2012 08:47:48 -0500 Subject: [PATCH] fixes #103 --- src/messages/data.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/messages/data.hpp b/src/messages/data.hpp index 05949aec28..2848e522bd 100644 --- a/src/messages/data.hpp +++ b/src/messages/data.hpp @@ -229,6 +229,7 @@ private: //s->m_pool->recycle(ptr(const_cast(s))); } else if (count == 0) { + lock.unlock(); boost::checked_delete(static_cast(s)); } }