From 0c2ddc0dd480f58893fbff910f0c97254263118d Mon Sep 17 00:00:00 2001 From: Dmitriy Paliy Date: Thu, 11 Nov 2010 09:36:12 +0200 Subject: [PATCH] obexd: Code clean up: cache->folder removed cache->folder is not used anywhere and therefore removed. --- obexd/plugins/pbap.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/obexd/plugins/pbap.c b/obexd/plugins/pbap.c index 666054b60..c64377c3b 100644 --- a/obexd/plugins/pbap.c +++ b/obexd/plugins/pbap.c @@ -125,7 +125,6 @@ struct aparam_header { struct cache { gboolean valid; uint32_t index; - char *folder; GSList *entries; }; @@ -214,7 +213,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; -- 2.47.3