diff --git a/src/spdycat.cc b/src/spdycat.cc index c276490..ad53710 100644 --- a/src/spdycat.cc +++ b/src/spdycat.cc @@ -311,7 +311,7 @@ struct SpdySession { std::string hostport; Spdylay *sc; SessionStat stat; - SpdySession():complete(0) {} + SpdySession():complete(0), sc(0) {} ~SpdySession() { for(size_t i = 0; i < reqvec.size(); ++i) {