> -----Original Message-----
> From: Laurent Vivier [mailto:[email protected]]
> Sent: Monday, December 14, 2020 1:44 AM
> To: Chenqun (kuhn) <[email protected]>; [email protected];
> [email protected]
> Cc: [email protected]; Zhanghailiang <[email protected]>;
> Viktor Prutyanov <[email protected]>; Li Qiang
> <[email protected]>; Pannengyuan <[email protected]>; ganqixin
> <[email protected]>; Euler Robot <[email protected]>
> Subject: Re: [PATCH RESEND v2 3/7] elf2dmp/qemu_elf: Plug memleak in
> QEMU_Elf_init
> 
> Le 23/10/2020 à 08:12, Chen Qun a écrit :
> > From: Pan Nengyuan <[email protected]>
> >
> > Missing g_error_free in QEMU_Elf_init() error path. Fix that.
> >
> > Reported-by: Euler Robot <[email protected]>
> > Signed-off-by: Pan Nengyuan <[email protected]>
> > Reviewed-by: Viktor Prutyanov <[email protected]>
> > Reviewed-by: Li Qiang <[email protected]>
> > Signed-off-by: Chen Qun <[email protected]>
> > ---
> >  contrib/elf2dmp/qemu_elf.c | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/contrib/elf2dmp/qemu_elf.c b/contrib/elf2dmp/qemu_elf.c
> > index 0db7816586..b601b6d7ba 100644
> > --- a/contrib/elf2dmp/qemu_elf.c
> > +++ b/contrib/elf2dmp/qemu_elf.c
> > @@ -126,6 +126,7 @@ int QEMU_Elf_init(QEMU_Elf *qe, const char
> *filename)
> >      qe->gmf = g_mapped_file_new(filename, TRUE, &gerr);
> >      if (gerr) {
> >          eprintf("Failed to map ELF dump file \'%s\'\n", filename);
> > +        g_error_free(gerr);
> >          return 1;
> >      }
> >
> >
> 
> Applied to my trivial-patches branch.
> 
Hi Laurent,
  Thank you for picked them up!
But, there are two patches that have not been picked up.
Maybe I should ping the corresponding Maintainer first.

The missing patches are:
[PATCH RESEND v2 2/7] qga/channel-posix: Plug memory leak in 
ga_channel_write_all()
[PATCH RESEND v2 5/7] migration/colo: Plug memleaks in 
colo_process_incoming_thread

Thanks,
Chen Qun

Reply via email to