]> git.dujemihanovic.xyz Git - u-boot.git/commit
ext4: Fix memory leak in case of failure
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Tue, 6 Sep 2016 02:36:51 +0000 (04:36 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 23 Sep 2016 13:02:41 +0000 (09:02 -0400)
commit87a40b6e037ce73cb7c3ac93b2a049d5299b92c8
tree69c0e218a73c5b6d78bb76f0afef985376aaaff3
parent0ceef3d3710960347fde6c57f12f3de6fe9cfaaf
ext4: Fix memory leak in case of failure

temp_ptr should always be freed, even if the function is left via
goto fail.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
fs/ext4/ext4_write.c