libqmi: switch to glib for lists and malloc

glib has a linked list and malloc wrappers.  Use them.

BUG=None
TEST=qmidev_unittest still passes

Change-Id: I978bb24d16b10a8b1d8c7c386c677772fbebb5d8
13 files changed
tree: 8e74aef12ff43b85897caad2d1c9ee44ac5d1c15
  1. include/
  2. src/
  3. .gitignore
  4. LICENSE
  5. Makefile
  6. README