]> git.tue.mpg.de Git - paraslash.git/commitdiff
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 089b5d786177e5d6b0b5b521812549cbbe83d02c..fab608597f8cc944a995ac52e45e607211828231 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;
        }