> ... It looks like there is a > leak in db.c with the "data" variable not being cleared. That is cleared by _alpm_db_unregister(db); [Not very suggestive, I know ;-). And usage of pointercmp instead of _alpm_db_cmp would be safer here, indeed.] Bye