local: Properly free list of sources after device listing