From 77da9dc9748b3f151f98c4c301e8da3a2551860d Mon Sep 17 00:00:00 2001 From: Silvan Jegen Date: Tue, 28 Jan 2014 17:50:44 +0100 Subject: Another NULL check removed Signed-off-by: Silvan Jegen Signed-off-by: Allan McRae --- 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 2d53a1cc..86f2fc68 100644 --- a/src/util/pacsort.c +++ b/src/util/pacsort.c @@ -98,10 +98,7 @@ static void buffer_free(struct buffer_t *buf) return; } - if(buf->mem) { - free(buf->mem); - } - + free(buf->mem); free(buf); } -- cgit v1.2.3-24-g4f1b