Message ID | 160563523031.11244.13285027603206176660.tip-bot2@tip-bot2 |
---|---|
State | New |
Headers | show |
Series | [tip:,efi/urgent] efivarfs: fix memory leak in efivarfs_create() | expand |
diff --git a/fs/efivarfs/super.c b/fs/efivarfs/super.c index 15880a6..f943fd0 100644 --- a/fs/efivarfs/super.c +++ b/fs/efivarfs/super.c @@ -21,6 +21,7 @@ LIST_HEAD(efivarfs_list); static void efivarfs_evict_inode(struct inode *inode) { clear_inode(inode); + kfree(inode->i_private); } static const struct super_operations efivarfs_ops = {