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>
Sat, 2 Feb 2013 15:01:32 +0000 (09:01 -0600)
commit04cdfbe0d4296805dba8124c4815309c89913537
tree87fecbae78d2702501a03db4156e829e522013d9
parent2f9383fadde1a348fcdff7b9e4e4fbbd1c22967a
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