commit | 50ca62781a75816357ef52b62220e87c3f08b8ce | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Thu Jan 09 23:23:54 2014 -0800 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Thu Jan 09 23:36:04 2014 -0800 |
tree | 6691d2f8d751c1c721eeef95ed0bae34c4af520d | |
parent | 84c2bd449edf0aeb4988c933a39bde0bd52b7112 [diff] |
transport/unix: Fixing segfault due to errorneous creation of multiple UnixTransport::Impl instances The bug showed itself when multiple expressInterest's were issued before running processEvents. Change-Id: I7e60d0ae625777e06471aca00707d7b88e68a5c8
diff --git a/include/ndn-cpp/transport/unix-transport.hpp b/include/ndn-cpp/transport/unix-transport.hpp index b7b65a9..c2ee204 100644 --- a/include/ndn-cpp/transport/unix-transport.hpp +++ b/include/ndn-cpp/transport/unix-transport.hpp
@@ -34,7 +34,7 @@ std::string unixSocket_; class Impl; - std::auto_ptr<Impl> impl_; + ptr_lib::shared_ptr<Impl> impl_; }; }