projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix leaks in tests
[folly.git]
/
folly
/
io
/
async
/
test
/
AsyncSSLSocketTest.h
diff --git
a/folly/io/async/test/AsyncSSLSocketTest.h
b/folly/io/async/test/AsyncSSLSocketTest.h
index a08fe6b949340568f3df5cc72259a27334b10b49..ac5da8ccfc2721f9044669e829f41e5d00011fdf 100644
(file)
--- a/
folly/io/async/test/AsyncSSLSocketTest.h
+++ b/
folly/io/async/test/AsyncSSLSocketTest.h
@@
-557,7
+557,7
@@
class TestSSLServer {
EventBase evb_;
std::shared_ptr<folly::SSLContext> ctx_;
SSLServerAcceptCallbackBase *acb_;
-
folly::AsyncServerSocket *
socket_;
+
std::shared_ptr<folly::AsyncServerSocket>
socket_;
folly::SocketAddress address_;
pthread_t thread_;