commit | f9b3a4719e9e8ada205ada7d9733bee0b14a1b6b | [log] [tgz] |
---|---|---|
author | Wolfgang Denk <wd@denx.de> | Thu Jul 28 15:27:22 2011 +0200 |
committer | Stefan Roese <sr@denx.de> | Fri Aug 19 17:21:02 2011 +0200 |
tree | 56a6d6265adbaea79ebb5264145212b29bb1b47d | |
parent | 60fbc8db6ffae49c440e4f1138bc70a9ceb692e2 [diff] |
ubifs: Fix bad free() sequence in ubifs_finddir() 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 <uboot@teamboyce.co.uk> Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>