Fixed a memory leak in pickuparm. Peter Lee