[pacman-dev] [PATCH] libalpm: avoid double free() in trans_free()

VMiklos vmiklos at frugalware.org
Sun Jan 1 08:01:03 EST 2006

On Sat, Dec 31, 2005 at 06:32:36PM +0100, Aurelien Foret <aurelien at archlinux.org> wrote:
> Basically, trans->pacakges is really a list of packages, and not a list 
> of pointers to packages.
> As a consequence, it must be freed by using FREELISTPKGS.
> See add_loadtarget() or remove_loadtarget(): data are built from scratch 
> and copied into that list.

hm, yes

> IMO, the double free fault comes from somewhere else.
> Is it only occurring when using the "-s" flag?
> Is running "sudo pacman -R --noconfirm k9copy toolame" triggers the fault?

no, it doesn't

udv / greetings,

Developer of Frugalware Linux, to make things frugal - http://frugalware.org

More information about the pacman-dev mailing list