Skip to content
Commit 5474ca7d authored by Jan Kara's avatar Jan Kara
Browse files

reiserfs: Fix memory leak of journal device string



When a filesystem is mounted with jdev mount option, we store the
journal device name in an allocated string in superblock. However we
fail to ever free that string. Fix it.

Reported-by: default avatar <syzbot+1c6756baf4b16b94d2a6@syzkaller.appspotmail.com>
Fixes: c3aa0776

 ("reiserfs: Properly display mount options in /proc/mounts")
CC: stable@vger.kernel.org
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 34e92542
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment