summaryrefslogtreecommitdiff
path: root/e2fsprogs/blkid/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs/blkid/cache.c')
-rw-r--r--e2fsprogs/blkid/cache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/e2fsprogs/blkid/cache.c b/e2fsprogs/blkid/cache.c
index 87be126..daccb30 100644
--- a/e2fsprogs/blkid/cache.c
+++ b/e2fsprogs/blkid/cache.c
@@ -88,8 +88,7 @@ void blkid_put_cache(blkid_cache cache)
}
blkid_free_tag(tag);
}
- if (cache->bic_filename)
- free(cache->bic_filename);
+ free(cache->bic_filename);
free(cache);
}