Fix Fiber::LocalData leak for large fiber locals
[folly.git] / folly / fibers / Fiber.h
index 82b73bc6490c1daec0f6751c8adc35e6feb3473d..36af25ebb0862c2636480c61d96fc7c62c3d4352 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2016 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -131,6 +131,7 @@ class Fiber {
   class LocalData {
    public:
     LocalData() {}
+    ~LocalData();
     LocalData(const LocalData& other);
     LocalData& operator=(const LocalData& other);