From c73df1f3b5b770e9eb124202717a8900b170d158 Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Sun, 17 Mar 2013 18:27:21 -0500 Subject: [PATCH] fixes uninitialized m_output_stream variable --- websocketpp/transport/iostream/connection.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/websocketpp/transport/iostream/connection.hpp b/websocketpp/transport/iostream/connection.hpp index e9162101d5..7a92d27ecd 100644 --- a/websocketpp/transport/iostream/connection.hpp +++ b/websocketpp/transport/iostream/connection.hpp @@ -61,7 +61,8 @@ public: typedef typename concurrency_type::mutex_type mutex_type; explicit connection(bool is_server, alog_type& alog, elog_type& elog) - : m_reading(false) + : m_output_stream(NULL) + , m_reading(false) , m_is_server(is_server) , m_alog(alog) , m_elog(elog)