diff options
author | Roland Dreier <rolandd@cisco.com> | 2006-05-17 22:20:50 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-05-17 22:20:50 -0700 |
commit | 0cb4fe8d2658dc0bd1accfbb74ee288a9d6788f4 (patch) | |
tree | 26d1c7122d28acecb99698aef362d667b684bfb6 /lib/cpumask.c | |
parent | 093beac189e4295d968f0d38787b46f76cb0eaaa (diff) |
IB/uverbs: Don't leak ref to mm on error path
In ib_umem_release_on_close(), if the kmalloc() fails, then a
reference to current->mm will be leaked. Fix this by adding a mmput()
instead of just returning on kmalloc() failure.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'lib/cpumask.c')
0 files changed, 0 insertions, 0 deletions