index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/group.c | 6 |
diff --git a/lib/libalpm/group.c b/lib/libalpm/group.c index cd68cb17..bd2280eb 100644 --- a/lib/libalpm/group.c +++ b/lib/libalpm/group.c @@ -49,10 +49,8 @@ pmgrp_t *_alpm_grp_new() return(grp); } -void _alpm_grp_free(void *data) +void _alpm_grp_free(pmgrp_t *grp) { - pmgrp_t *grp = data; - ALPM_LOG_FUNC; if(grp == NULL) { @@ -61,8 +59,6 @@ void _alpm_grp_free(void *data) FREELIST(grp->packages); FREE(grp); - - return; } /* Helper function for sorting groups |