From b7e0e1bd8483f630104bd7457bb47d18143cd89d Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 20 Aug 2006 18:07:27 +0200 Subject: [PATCH] osx_write: Kill superfluous NULL-pointer check. --- osx_writer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/osx_writer.c b/osx_writer.c index 089b5d78..fab60859 100644 --- a/osx_writer.c +++ b/osx_writer.c @@ -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; } -- 2.39.2