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:33:59 +0000 (00:33 -0600)
commit7c200b04fd0e2b888628ff3168560b47c9d20747
tree097d0f28fb6514eef9949202892b5374242e877f
parentcccaebbf058b6de7b29441df5a9dfe66b4f75c28
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