Free devlist and context