summaryrefslogtreecommitdiff
path: root/lib/libalpm/package.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/package.c')
-rw-r--r--lib/libalpm/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c
index aa035769..16e0dc32 100644
--- a/lib/libalpm/package.c
+++ b/lib/libalpm/package.c
@@ -156,7 +156,7 @@ void _alpm_pkg_free(void *data)
if(pkg->origin == PKG_FROM_FILE) {
FREE(pkg->data);
}
- free(pkg);
+ FREE(pkg);
return;
}