[PATCH] lib/flash: fix resource leak in flash_setup_buffer() error paths

Andrew Donnellan andrew.donnellan at au1.ibm.com
Wed May 4 10:55:43 AEST 2016


On 03/05/16 18:07, Cyril Bur wrote:
> Looks good, I know talloc can be rather magic but surely it can't work that
> out...
>
> While you're at it though, missed one...
>
> 		ffs_close(info->ffs);

Thanks Cyril - will submit V2

-- 
Andrew Donnellan              OzLabs, ADL Canberra
andrew.donnellan at au1.ibm.com  IBM Australia Limited



More information about the Petitboot mailing list