radv: fix memory leak when restoring from cache