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 06:26:03 +0000 (00:26 -0600)
commitc98d92389b6747649698970b729cbeda6f3c3ae8
treef41b6a7c5c4525bf78c738b9d7be11f3a8e42c4c
parent2074c165ea98a98598d2935999b69ce595a89498
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