avoided a potential memleak

knock might exit, but strduped config does not get freed