[pacman-dev] alpm_add_pkg() stealing ownership of allocated objects

Rémy Oudompheng remyoudompheng at gmail.com
Tue Apr 12 18:54:48 EDT 2011

On 2011/4/12 Xavier <chantry.xavier at gmail.com> wrote:
> I cannot look now, but you might be right, and this definitely needs careful
> reviewing. Can you open a ticket ?
> I wonder if add_pkg should handle pmpkg from files differently and duplicate
> these before adding them to the transaction. This would be less confusing to the
> frontend, which would always need to free a pmpkg coming from pkg_load.

I opened FS#23731 about this issue. I also opened FS#23732 about a
very unconvenient behaviour with empty transactions.


More information about the pacman-dev mailing list