Fix leak in test program.