Fix apparent memory leak in tests.

Change-Id: I33e17c97a39783dd62a4d9ab7a9b30b555c96072
1 file changed