summaryrefslogtreecommitdiffstats
path: root/partx/crc32.c
diff options
context:
space:
mode:
Diffstat (limited to 'partx/crc32.c')
-rw-r--r--partx/crc32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/partx/crc32.c b/partx/crc32.c
index 42d803d14..4120f7289 100644
--- a/partx/crc32.c
+++ b/partx/crc32.c
@@ -96,7 +96,7 @@ crc32init_le(void)
static void
crc32cleanup_le(void)
{
- if (crc32table_le) free(crc32table_le);
+ free(crc32table_le);
crc32table_le = NULL;
}
@@ -198,7 +198,7 @@ crc32init_be(void)
static void
crc32cleanup_be(void)
{
- if (crc32table_be) free(crc32table_be);
+ free(crc32table_be);
crc32table_be = NULL;
}