diff options
Diffstat (limited to 'fs/proc/generic.c')
-rw-r--r-- | fs/proc/generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/generic.c b/fs/proc/generic.c index 1c91eed26451..e37ea3e53de8 100644 --- a/fs/proc/generic.c +++ b/fs/proc/generic.c | |||
@@ -673,7 +673,7 @@ void free_proc_entry(struct proc_dir_entry *de) | |||
673 | 673 | ||
674 | release_inode_number(ino); | 674 | release_inode_number(ino); |
675 | 675 | ||
676 | if (S_ISLNK(de->mode) && de->data) | 676 | if (S_ISLNK(de->mode)) |
677 | kfree(de->data); | 677 | kfree(de->data); |
678 | kfree(de); | 678 | kfree(de); |
679 | } | 679 | } |