Commit: 3058efa787165004b182a6571c53842f656d2e57
Parent: 9c6e404f93120f30b3cbb1a74b34ca34fb14ec65
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2011-06-30 12:32:17
Tree: c60af6045945707f072fd4b5a6c3da281666593b

Make use of g_slist_free_full when elements are dynamically-allocated This avoid having to iterate twice in the list to free its elements.

Diffstat

M acinclude.m4 | 4 ++- -
M src/adapter.c | 33 ++++++++++++++- - - - - - - - - - - - - - - - - - -
M src/attrib-server.c | 18 ++++++- - - - - - - - - - - -
M src/device.c | 14 ++++- - - - - - - - - -
M src/eir.c | 3 +- -
M src/manager.c | 3 +- -
M src/storage.c | 6 ++- - - -

7 files changed, 30 insertions(+), 51 deletions(-)

View Full Diff | Patch