fs/ext4/ext4fs.c: Free dirnode in error path of ext4fs_ls
authorTom Rini <trini@konsulko.com>
Wed, 27 Sep 2017 02:43:45 +0000 (22:43 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 6 Oct 2017 15:28:22 +0000 (11:28 -0400)
commitfa9ca8a5d271e0533f61222df2bd6fd512687dbd
treea8a601bf10a01645aad37ee16a77ae4ad5c21209
parent3c2dff5490831f85f06aa78aad5ef537b661cecf
fs/ext4/ext4fs.c: Free dirnode in error path of ext4fs_ls

As reported by Coverity, we did not free dirnode in the case of failure.
Do so now.

Reported-by: Coverity (CID: 131221)
Cc: Stefan BrĂ¼ns <stefan.bruens@rwth-aachen.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
fs/ext4/ext4fs.c