agm: use list_for_each_safe instead of list_for_each

use-after-free can happen after removing it in
session_close if we directly use node->next.
use list_for_each_safe instead of list_for_each.

Change-Id: I81cf255f026c3c5da2d472c356fc01abf1a37bef
1 file changed
tree: 85c9e278c17bef0cb38251a8ec6f084c722329e1
  1. ipc/
  2. plugins/
  3. service/
  4. snd_parser/
  5. Android.mk
  6. NOTICE
  7. README.md
README.md

agm

Audio Graph Manager