diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/tomoyo/mount.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/tomoyo/mount.c b/security/tomoyo/mount.c index 82bf8c2390bc..162a864dba24 100644 --- a/security/tomoyo/mount.c +++ b/security/tomoyo/mount.c | |||
@@ -143,6 +143,7 @@ static int tomoyo_mount_acl(struct tomoyo_request_info *r, char *dev_name, | |||
143 | goto out; | 143 | goto out; |
144 | } | 144 | } |
145 | requested_dev_name = tomoyo_realpath_from_path(&path); | 145 | requested_dev_name = tomoyo_realpath_from_path(&path); |
146 | path_put(&path); | ||
146 | if (!requested_dev_name) { | 147 | if (!requested_dev_name) { |
147 | error = -ENOENT; | 148 | error = -ENOENT; |
148 | goto out; | 149 | goto out; |