[pacman-dev] [patch] conflict.c memleak fix

Dan McGee dpmcgee at gmail.com
Sun Aug 12 21:41:27 EDT 2007


On 8/4/07, Xavier <shiningxc at gmail.com> wrote:
> On Thu, Aug 02, 2007 at 09:19:28PM +0200, Nagy Gabor wrote:
> > Hi!
> > This is just a small memleak fix.
> > Bye, ngaba
>
> I guess that was a professional memleak?
>
> > diff --git a/lib/libalpm/conflict.c b/lib/libalpm/conflict.c
> > index 1baa0c2..feb4275 100644
> > --- a/lib/libalpm/conflict.c
> > +++ b/lib/libalpm/conflict.c
> > @@ -155,6 +155,7 @@ alpm_list_t *_alpm_checkconflicts(pmdb_t *db, alpm_list_t *packages)
> >       _alpm_log(PM_LOG_DEBUG, "check targets vs targets");
> >       check_conflict(packages, packages, &baddeps, 0);
> >
> > +     alpm_list_free(dblist);
> >       return(baddeps);
> >  }
> >
>
> Thanks, applied that too.
>
> PS : I don't have access to my git server at home, since I'm in holiday, but
> I suppose it doesn't matter since Dan is not there for merging things :)
>
> _______________________________________________
> pacman-dev mailing list
> pacman-dev at archlinux.org
> http://archlinux.org/mailman/listinfo/pacman-dev
>

Pulled to master.

-Dan




More information about the pacman-dev mailing list