Signed-off-by: Pang Yan Han <[email protected]>
---
 src/util/pacsort.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/util/pacsort.c b/src/util/pacsort.c
index 48d183b..caaac1f 100644
--- a/src/util/pacsort.c
+++ b/src/util/pacsort.c
@@ -158,8 +158,8 @@ static void list_free(struct list_t *list)
                        free(list->list[i]);
                }
                free(list->list);
-               free(list);
        }
+       free(list);
 }
 
 static char *explode(struct buffer_t *buffer, struct list_t *list)
-- 
1.7.6


Reply via email to