]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
IndexManager: delete index during RemoveOnDelete
authorSamuel Just <samuel.just@dreamhost.com>
Wed, 7 Sep 2011 17:13:36 +0000 (10:13 -0700)
committerSamuel Just <samuel.just@dreamhost.com>
Wed, 7 Sep 2011 17:13:36 +0000 (10:13 -0700)
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
src/os/IndexManager.h

index 93e3bce59d362a29211bcc1bae53eec007d1f03d..a630eba6a69af7685ce5362f521c001b012984f9 100644 (file)
@@ -66,6 +66,7 @@ class IndexManager {
 
     void operator()(CollectionIndex *index) {
       manager->put_index(c);
+      delete index;
     }
   };