index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-04-26 20:15:51 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-04-27 20:38:54 -0400 |
commit | 3cf8a333d04cd8b55edfe63bd8f4dd322a88a4d0 (patch) | |
tree | 4687343834084a984dcf2490699428310b21333f /lib/libalpm/group.c | |
parent | ec7d6955b821c51a28efce31268c9c23cb1b5928 (diff) |
-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 |