diff options
Diffstat (limited to 'libglusterfs/src/circ-buff.c')
-rw-r--r-- | libglusterfs/src/circ-buff.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libglusterfs/src/circ-buff.c b/libglusterfs/src/circ-buff.c index 6c7907a095c..65bbd5d45c7 100644 --- a/libglusterfs/src/circ-buff.c +++ b/libglusterfs/src/circ-buff.c @@ -158,8 +158,7 @@ cb_buffer_destroy (buffer_t *buffer) if (buffer) { if (buffer->cb) { for (i = 0; i < buffer->used_len ; i++) { - if (buffer->cb[i]) - GF_FREE (buffer->cb[i]); + GF_FREE (buffer->cb[i]); } GF_FREE (buffer->cb); } |