diff --git a/src/test/librados/snapshots.cc b/src/test/librados/snapshots.cc index 2431495eee954..880b84dac3597 100644 --- a/src/test/librados/snapshots.cc +++ b/src/test/librados/snapshots.cc @@ -161,6 +161,8 @@ TEST_F(LibRadosSnapshotsPP, SnapCreateRemovePP) { EXPECT_EQ(0, ioctx.snap_remove("snapfoo")); EXPECT_EQ(0, ioctx.snap_remove("snapbar")); + + delete op; } TEST_F(LibRadosSnapshotsSelfManaged, Snap) {