[patch 4/4] Passing efi related data via setup_data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/28/13 at 09:12am, Dave Young wrote:
> > > +	size = nr_maps * sizeof(struct efi_mem_descriptor) + sizeof(struct efi_setup_data);
> > > +	sd = malloc(sizeof(struct setup_data) + size);
> > > +	if (!sd) {
> > > +		free(esd);
> > > +		return;
> > > +	}
> > 
> > This function appears to leak sd.
> 
> Will fix

sd will be passed to add_buffer, it should be freed after kexec_load,
is it really necessary, or I misunderstand something?

> 
> --
> Thanks
> Dave



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux