projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
359e72f
)
osx_write: Kill superfluous NULL-pointer check.
author
Andre Noll
<maan@congo.fml.local>
Sun, 20 Aug 2006 16:07:27 +0000
(18:07 +0200)
committer
Andre Noll
<maan@congo.fml.local>
Sun, 20 Aug 2006 16:07:27 +0000
(18:07 +0200)
osx_writer.c
patch
|
blob
|
history
diff --git
a/osx_writer.c
b/osx_writer.c
index 089b5d786177e5d6b0b5b521812549cbbe83d02c..fab608597f8cc944a995ac52e45e607211828231 100644
(file)
--- 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;
}