Fix some folly memory leaks found with clang:dev + asan
[folly.git] / folly / ConcurrentSkipList.h
index 987aa094e4426018ee7e9bd2e359f00a7953659f..620446f94fcce7680679a0d44b3c69033a370424 100644 (file)
@@ -769,7 +769,8 @@ class ConcurrentSkipList<T, Comp, NodeAlloc, MAX_HEIGHT>::Skipper {
       findInsertionPoint(preds_[lyr], lyr, data, preds_, succs_);
     if (foundLayer < 0) return false;
 
-    DCHECK(succs_[0] != nullptr) << "lyr=" << lyr << "; max_layer=" << max_layer;
+    DCHECK(succs_[0] != nullptr) << "lyr=" << lyr
+                                 << "; max_layer=" << max_layer;
     return !succs_[0]->markedForRemoval();
   }