diff options
Diffstat (limited to 'fs/lockd/clntproc.c')
-rw-r--r-- | fs/lockd/clntproc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/lockd/clntproc.c b/fs/lockd/clntproc.c index 87332f30141b..c5a33648e9fd 100644 --- a/fs/lockd/clntproc.c +++ b/fs/lockd/clntproc.c | |||
@@ -112,8 +112,7 @@ static struct nlm_lockowner *nlm_find_lockowner(struct nlm_host *host, fl_owner_ | |||
112 | } | 112 | } |
113 | } | 113 | } |
114 | spin_unlock(&host->h_lock); | 114 | spin_unlock(&host->h_lock); |
115 | if (new != NULL) | 115 | kfree(new); |
116 | kfree(new); | ||
117 | return res; | 116 | return res; |
118 | } | 117 | } |
119 | 118 | ||