parse lpq works now, previously i was trying to free a strtok call that i shouldnt have