summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/group.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/group.c')
-rw-r--r--lib/libalpm/group.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libalpm/group.c b/lib/libalpm/group.c
index 5d5ecbba..a77a8eef 100644
--- a/lib/libalpm/group.c
+++ b/lib/libalpm/group.c
@@ -42,8 +42,10 @@ pmgrp_t *_alpm_grp_new()
return(grp);
}
-void _alpm_grp_free(pmgrp_t *grp)
+void _alpm_grp_free(void *data)
{
+ pmgrp_t *grp = data;
+
if(grp == NULL) {
return;
}