diff --git a/cub/test/test_iterator_deprecated.cu b/cub/test/test_iterator_deprecated.cu index f6a8e3814ad..7c1500588c3 100644 --- a/cub/test/test_iterator_deprecated.cu +++ b/cub/test/test_iterator_deprecated.cu @@ -290,5 +290,7 @@ int main(int argc, char** argv) printf("\nTest complete\n"); fflush(stdout); + g_allocator.FreeAllCached(); + return 0; }