Fix leak at program end.