index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Silvan Jegen <s.jegen@gmail.com> | 2014-01-28 17:50:44 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-01-30 13:40:25 +1000 |
commit | 77da9dc9748b3f151f98c4c301e8da3a2551860d (patch) | |
tree | af8452b7edb63ef69f8ce35108d81861f3c0316e /src/util/pacsort.c | |
parent | cb8eae24c9976c023c8ec2aff9bf305202edc4d7 (diff) |
-rw-r--r-- | src/util/pacsort.c | 5 |
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); } |