]> git.cameronkatri.com Git - pw-darwin.git/blobdiff - pw/bitmap.c
if the check of the pw db fails return the failed value
[pw-darwin.git] / pw / bitmap.c
index bcfea7e2c8874358a5253d4637c5309f45742ac5..8e96bff40ba731c791ae427d032064071b0bedad 100644 (file)
@@ -50,8 +50,7 @@ bm_alloc(int size)
 void
 bm_dealloc(struct bitmap * bm)
 {
-       if (bm->map)
-               free(bm->map);
+       free(bm->map);
 }
 
 static void