summaryrefslogtreecommitdiff
path: root/src/mds/Mutation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mds/Mutation.h')
-rw-r--r--src/mds/Mutation.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mds/Mutation.h b/src/mds/Mutation.h
index c0bea19d16e..b50a03cefa4 100644
--- a/src/mds/Mutation.h
+++ b/src/mds/Mutation.h
@@ -330,8 +330,7 @@ struct MDSlaveUpdate {
~MDSlaveUpdate() {
item.remove_myself();
if (waiter)
- waiter->finish(0);
- delete waiter;
+ waiter->complete(0);
}
};