Fix folly memory leaks found with clang:dev + asan.
authorSoren Lassen <soren@fb.com>
Tue, 23 Sep 2014 19:42:33 +0000 (12:42 -0700)
committerAnton Likhtarov <alikhtarov@fb.com>
Fri, 26 Sep 2014 22:23:14 +0000 (15:23 -0700)
commitcae6c97a3e46d3e58f1b28eadc097fb14391f559
treedfc31c3459549f31b78f029ae6218358cd2c638a
parent395c7e78e17e9521fcb9b8e3474d7ff17095b3ac
Fix folly memory leaks found with clang:dev + asan.

Summary: I tried running folly/test with clang:dev and asan and found these leaks.

Test Plan:
unit tests with clang:dev/asan

Reviewed By: davejwatson@fb.com

Subscribers: davejwatson, trunkagent, mathieubaudet, njormrod, meyering, philipp

FB internal diff: D1569246
folly/SocketAddress.cpp
folly/small_vector.h
folly/test/PackedSyncPtrTest.cpp
folly/test/ThreadLocalTest.cpp