config: use list safe iterator in lease_delete
authorHans Dedecker <dedeckeh@gmail.com>
Tue, 14 May 2019 13:18:08 +0000 (15:18 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Tue, 14 May 2019 13:22:02 +0000 (15:22 +0200)
commitf98b7ee899d492d32c4d857aa068daf95ae5be7b
tree28f9327ad6917f701fa3082f5bd8684092c63001
parent3c9810b24b0794028ad9ed2ef7bc18ba41d78428
config: use list safe iterator in lease_delete

As the current assignment is freed in lease_delete use list_for_each_entry_safe

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
src/config.c