Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/db.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/db.c')
-rw-r--r--lib/libalpm/db.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c
index 3808a275..f5e7a25f 100644
--- a/lib/libalpm/db.c
+++ b/lib/libalpm/db.c
@@ -321,7 +321,7 @@ const pmpgpsig_t *_alpm_db_pgpsig(pmdb_t *db)
/* Sanity checks */
ASSERT(db != NULL, return(NULL));
- if(db->pgpsig.rawdata == NULL) {
+ if(db->pgpsig.data == NULL) {
const char *dbfile;
int ret;
@@ -343,8 +343,8 @@ void _alpm_db_free(pmdb_t *db)
_alpm_db_free_pkgcache(db);
/* cleanup server list */
FREELIST(db->servers);
- /* only need to free rawdata */
- FREE(db->pgpsig.rawdata);
+ /* only need to free data */
+ FREE(db->pgpsig.data);
FREE(db->_path);
FREE(db->treename);
FREE(db);