cache->folder is not used anywhere and therefore removed. --- plugins/pbap.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/plugins/pbap.c b/plugins/pbap.c index af60741..660b17d 100644 --- a/plugins/pbap.c +++ b/plugins/pbap.c @@ -125,7 +125,6 @@ struct aparam_header { struct cache { gboolean valid; uint32_t index; - char *folder; GSList *entries; }; @@ -219,7 +218,6 @@ static const char *cache_find(struct cache *cache, uint32_t handle) static void cache_clear(struct cache *cache) { - g_free(cache->folder); g_slist_foreach(cache->entries, (GFunc) cache_entry_free, NULL); g_slist_free(cache->entries); cache->entries = NULL; -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html