Signed-off-by: Silvan Jegen <s.je...@gmail.com>
---
 src/util/pacsort.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/util/pacsort.c b/src/util/pacsort.c
index 443e822..df3e809 100644
--- a/src/util/pacsort.c
+++ b/src/util/pacsort.c
@@ -97,10 +97,7 @@ static void buffer_free(struct buffer_t *buf)
                return;
        }
 
-       if(buf->mem) {
-               free(buf->mem);
-       }
-
+       free(buf->mem);
        free(buf);
 }
 
-- 
1.8.5.3


Reply via email to