Re: [U-Boot] [PATCH] ubifs: Fix bad free() sequence in ubifs_finddir()

2011-08-19 Thread Stefan Roese
On Thursday 28 July 2011 15:27:22 Wolfgang Denk wrote: Free private_data member element before freeing file structure. This was causing malloc to crash. Also remove unnecessary variable assigments as file structure gets free'd as well. Applied to u-boot-ubi/master. Thanks. Best regards,

[U-Boot] [PATCH] ubifs: Fix bad free() sequence in ubifs_finddir()

2011-07-28 Thread Wolfgang Denk
Free private_data member element before freeing file structure. This was causing malloc to crash. Also remove unnecessary variable assigments as file structure gets free'd as well. Signed-off-by: Rod Boyce ub...@teamboyce.co.uk Signed-off-by: Wolfgang Denk w...@denx.de Cc: Stefan Roese

Re: [U-Boot] [PATCH] ubifs: Fix bad free() sequence in ubifs_finddir()

2011-07-28 Thread Rod Boyce
On 28/07/11 14:27, Wolfgang Denk wrote: As Rod appears to have disappeared I took the frredom to jump in and fix this. - wd All, Sorry about this I missed the e-mail asking me to reformat the patch. Thanks for sorting this out Wolfgang. Regards, Rod Boyce