UBIFS memleak
Subsystems (2)
PATCH 1/1 UBIFS memleak
In mount_ubifs, in case of ubifs_leb_unmap error, free allocated resources.
Signed-off-by Matthieu CASTET <[email protected]>
fs/ubifs/super.c +1 -1
@@ -1318,7 +1318,7 @@ static int mount_ubifs(struct ubifs_info *c)*/ err =ubifs_leb_unmap (c, c->gc_lnum);if (err) -return err; + goto out_orphans; } err =dbg_check_lprops (c);
Quoted 4 lines · Matthieu CASTET
In
mount_ubifs, in case ofubifs_leb_unmaperror, free allocated resources.Signed-off-by Matthieu CASTET <[email protected]>
Pushed, thanks.
Signature · 2 lines
Best Regards, Artem Bityutskiy (Артём Битюцкий)