Fix second memory leak in sptw.cc.