]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/include/Context.h
update sources to v12.1.1
[ceph.git] / ceph / src / include / Context.h
index bf992d0a2bf9bcfcfbaaedc2b14eae2411a1c93c..e30c3f68ce6ee8ee1d2be9f22b524afd89ccc2ab 100644 (file)
@@ -217,7 +217,11 @@ public:
     : cct(cct_)
   {
   }
-
+  ~C_ContextsBase() override {
+    for (auto c : contexts) {
+      delete c;
+    }
+  }
   void add(ContextType* c) {
     contexts.push_back(c);
   }