mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-13 01:44:26 -05:00
13 lines
337 B
Diff
13 lines
337 B
Diff
|
diff --git a/security/keys/process_keys.c b/security/keys/process_keys.c
|
||
|
index 0cf8a13..4e56371 100644
|
||
|
--- a/security/keys/process_keys.c
|
||
|
+++ b/security/keys/process_keys.c
|
||
|
@@ -793,6 +793,7 @@
|
||
|
ret = PTR_ERR(keyring);
|
||
|
goto error2;
|
||
|
} else if (keyring == new->session_keyring) {
|
||
|
+ key_put(keyring);
|
||
|
ret = 0;
|
||
|
goto error2;
|
||
|
}
|