osx_write: Kill superfluous NULL-pointer check.
authorAndre Noll <maan@congo.fml.local>
Sun, 20 Aug 2006 16:07:27 +0000 (18:07 +0200)
committerAndre Noll <maan@congo.fml.local>
Sun, 20 Aug 2006 16:07:27 +0000 (18:07 +0200)
osx_writer.c

index 089b5d7..fab6085 100644 (file)
@@ -75,8 +75,7 @@ static void destroy_buffers(struct private_osx_writer_data *powd)
        powd->to->next = NULL;
        while (ptr) {
                ptr2 = ptr->next;
-               if (ptr->buffer)
-                       free(ptr->buffer);
+               free(ptr->buffer);
                free(ptr);
                ptr = ptr2;
        }