serial-dmm: Simplify clear_instances()
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Thu, 3 Jan 2013 03:48:33 +0000 (21:48 -0600)
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>
Tue, 8 Jan 2013 02:29:41 +0000 (20:29 -0600)
commitbb5edc70b9c8323414c2e49d0c6a5666b2c182ff
tree5ecd51b6b32d57e1b4a837f639926b0329d31ceb
parent73887801f6c79b751f758c0ed9e1bcac5d832aaf
serial-dmm: Simplify clear_instances()

Use g_slist_free_full() instead of traversing the list and freeing each element
manually.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
hardware/serial-dmm/api.c