summaryrefslogtreecommitdiff
path: root/ewah/bitmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'ewah/bitmap.c')
-rw-r--r--ewah/bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ewah/bitmap.c b/ewah/bitmap.c
index 87d5cc8fa3..ac61864163 100644
--- a/ewah/bitmap.c
+++ b/ewah/bitmap.c
@@ -218,7 +218,7 @@ int bitmap_is_subset(struct bitmap *self, struct bitmap *other)
void bitmap_free(struct bitmap *bitmap)
{
- if (bitmap == NULL)
+ if (!bitmap)
return;
free(bitmap->words);