diff options
Diffstat (limited to 'kernel/exec_domain.c')
-rw-r--r-- | kernel/exec_domain.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/exec_domain.c b/kernel/exec_domain.c index 867d6dbeb574..c01cead2cfd6 100644 --- a/kernel/exec_domain.c +++ b/kernel/exec_domain.c | |||
@@ -140,6 +140,7 @@ __set_personality(u_long personality) | |||
140 | ep = lookup_exec_domain(personality); | 140 | ep = lookup_exec_domain(personality); |
141 | if (ep == current_thread_info()->exec_domain) { | 141 | if (ep == current_thread_info()->exec_domain) { |
142 | current->personality = personality; | 142 | current->personality = personality; |
143 | module_put(ep->module); | ||
143 | return 0; | 144 | return 0; |
144 | } | 145 | } |
145 | 146 | ||