Index: tests/OncePtrTest.cpp |
diff --git a/tests/OncePtrTest.cpp b/tests/OncePtrTest.cpp |
index b1e4e5d1ae7d3ec238a324201db3bb0d9ae7dd11..1b348dfd2d3b7531de099373d341b0b1bf2f15f5 100644 |
--- a/tests/OncePtrTest.cpp |
+++ b/tests/OncePtrTest.cpp |
@@ -28,6 +28,8 @@ |
REPORTER_ASSERT(r, *n == 5); |
}); |
REPORTER_ASSERT(r, calls.load() == 1); |
+ |
+ delete (int*)once; |
} |
/* TODO(mtklein): next CL |