Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 246750ff authored by Linus Torvalds's avatar Linus Torvalds
Browse files

Merge branch 'for-linus' of...

parents 4660d3d2 570b8fb5
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -364,7 +364,7 @@ struct cred *prepare_usermodehelper_creds(void)

	new = kmem_cache_alloc(cred_jar, GFP_ATOMIC);
	if (!new)
		return NULL;
		goto free_tgcred;

	kdebug("prepare_usermodehelper_creds() alloc %p", new);

@@ -397,6 +397,10 @@ struct cred *prepare_usermodehelper_creds(void)

error:
	put_cred(new);
free_tgcred:
#ifdef CONFIG_KEYS
	kfree(tgcred);
#endif
	return NULL;
}