Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 70d9e384 authored by Davidlohr Bueso's avatar Davidlohr Bueso Committed by Bob Copeland
Browse files

omfs: fix memory leak



In the error path of omfs_fill_super(), the FS super block info
(sbi) is not being freed.  Correct this.

Signed-off-by: default avatarDavidlohr Bueso <dave@gnu.org>
Signed-off-by: default avatarBob Copeland <me@bobcopeland.com>
parent 815c4163
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -529,6 +529,8 @@ out_brelse_bh2:
out_brelse_bh:
	brelse(bh);
end:
	if (ret)
		kfree(sbi);
	return ret;
}