Fix some memory leaks in seek_test test program: