]> git.cameronkatri.com Git - pw-darwin.git/blobdiff - pw/bitmap.c
Convert devd's client socket to type SOCK_SEQPACKET.
[pw-darwin.git] / pw / bitmap.c
index 493c543daf3b5faa86134630a6feea4c41ec75b6..8e96bff40ba731c791ae427d032064071b0bedad 100644 (file)
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- *
- *     $FreeBSD$
  */
 
+#ifndef lint
+static const char rcsid[] =
+  "$FreeBSD$";
+#endif /* not lint */
+
 #include <stdlib.h>
 #include <string.h>
 
@@ -47,8 +50,7 @@ bm_alloc(int size)
 void
 bm_dealloc(struct bitmap * bm)
 {
-       if (bm->map)
-               free(bm->map);
+       free(bm->map);
 }
 
 static void