summaryrefslogtreecommitdiffstats
path: root/stream/stream_cddb.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_cddb.c')
-rw-r--r--stream/stream_cddb.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/stream/stream_cddb.c b/stream/stream_cddb.c
index abc6a86966..5a4b3c1cee 100644
--- a/stream/stream_cddb.c
+++ b/stream/stream_cddb.c
@@ -783,9 +783,7 @@ static int cddb_retrieve(cddb_data_t *cddb_data)
if (ret < 0)
return -1;
- if (cddb_data->cache_dir != NULL) {
- free(cddb_data->cache_dir);
- }
+ free(cddb_data->cache_dir);
return 0;
}