From ec0e348d1d14679f72ce704555dd2605880bddfa Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 11 May 2009 13:11:42 +0000 Subject: Fix leak of Decoder map entries. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@773552 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/cluster/Decoder.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpp/src/qpid/cluster/Decoder.h') diff --git a/cpp/src/qpid/cluster/Decoder.h b/cpp/src/qpid/cluster/Decoder.h index acde4258a2..3fb7b4f73d 100644 --- a/cpp/src/qpid/cluster/Decoder.h +++ b/cpp/src/qpid/cluster/Decoder.h @@ -24,6 +24,7 @@ #include "types.h" #include "qpid/framing/FrameDecoder.h" +#include "qpid/sys/Mutex.h" #include #include @@ -48,6 +49,7 @@ class Decoder private: typedef std::map Map; + sys::Mutex lock; Map map; void process(const EventFrame&); FrameHandler callback; -- cgit v1.2.1