Commit: 7af429c001387df9335db359c99c62f980492737
Parent: 1d1fc983e47d6b2249dcbba161822c7a3888ec70
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2014-02-06 15:23:50
Tree: 8e9d4022458fcd388bc077ff0f20d87d39ec511d

android/pan: Use g_slist_free_full to free devices list Calling g_slist_remove within the callback of g_slist_foreach is very inefficient as it has to iterate in the list twice to figure which element to remove.

Diffstat

M android/pan.c | 26 ++++++++++++++- - - - - - - - - - - -

1 files changed, 14 insertions(+), 12 deletions(-)

View Full Diff | Patch