tests: fix -Wunused-but-set-variable warnings
diff --git a/tests/init.cpp b/tests/init.cpp
index 365508f..2b76ffe 100644
--- a/tests/init.cpp
+++ b/tests/init.cpp
@@ -138,6 +138,7 @@
 
     // TODO: Iterate over all GPUs
     gpu = new XglGpu(0, objs[0]);
+    delete gpu;
 
     // TODO: Verify destroy functions
 }