build_sqlitedb: Fix memory leaks and optimize function
authorChristophe Dumez <christophe.dumez@intel.com>
Wed, 5 Oct 2011 06:26:05 +0000 (09:26 +0300)
committerChristophe Dumez <christophe.dumez@intel.com>
Fri, 7 Oct 2011 10:49:09 +0000 (13:49 +0300)
commitfb5445569e55d5eb48198f99272fd28d06db7922
tree8239c22caf040b655dd39c3d28a8716aa9ac0b08
parentbd6eb6896f663bc95521b07cab48fce760b91ae6
build_sqlitedb: Fix memory leaks and optimize function

This patch fixes 2 possible memory leaks in build_sqlitedb()
function, makes use of e_util_free_object_slist() utility function,
slightly improves error checking and makes some minor optimizations.
addressbook/backends/file/e-book-backend-file.c