Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util/pacsort.c5
1 files changed, 1 insertions, 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);
}