From: Andre Noll Date: Sun, 20 Aug 2006 16:07:27 +0000 (+0200) Subject: osx_write: Kill superfluous NULL-pointer check. X-Git-Tag: v0.2.14~40 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=b7e0e1bd8483f630104bd7457bb47d18143cd89d;p=paraslash.git osx_write: Kill superfluous NULL-pointer check. --- 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; }