aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/nsproxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/nsproxy.c b/kernel/nsproxy.c
index 8d6c852dc51e..6ebdb82a0ce4 100644
--- a/kernel/nsproxy.c
+++ b/kernel/nsproxy.c
@@ -123,7 +123,7 @@ out_uts:
123 put_namespace(new_ns->namespace); 123 put_namespace(new_ns->namespace);
124out_ns: 124out_ns:
125 tsk->nsproxy = old_ns; 125 tsk->nsproxy = old_ns;
126 put_nsproxy(new_ns); 126 kfree(new_ns);
127 goto out; 127 goto out;
128} 128}
129 129