Fix up C++ basic API test

Change-Id: I80cd8d74e7b12c2097da5b16725dbbd3c079573c
diff --git a/tests/compute.cpp b/tests/compute.cpp
index 351627b..8c390db 100644
--- a/tests/compute.cpp
+++ b/tests/compute.cpp
@@ -56,6 +56,8 @@
     t.clear();
     a1.clear();
     e.clear();
+    ain.clear();
+    aout.clear();
     delete rs;
     printf("Delete OK\n");
 }