]> git.cameronkatri.com Git - pw-darwin.git/blobdiff - pw/bitmap.c
PREFIX stuff
[pw-darwin.git] / pw / bitmap.c
index bcfea7e2c8874358a5253d4637c5309f45742ac5..be82b2c792dd9537ebd02068e22ca3b45e691e82 100644 (file)
@@ -1,4 +1,6 @@
 /*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
  * Copyright (C) 1996
  *     David L. Nugent.  All rights reserved.
  *
@@ -50,8 +52,7 @@ bm_alloc(int size)
 void
 bm_dealloc(struct bitmap * bm)
 {
-       if (bm->map)
-               free(bm->map);
+       free(bm->map);
 }
 
 static void