projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[cascardo/linux.git]
/
net
/
ceph
/
crypto.h
diff --git
a/net/ceph/crypto.h
b/net/ceph/crypto.h
index
1919d15
..
3572dc5
100644
(file)
--- a/
net/ceph/crypto.h
+++ b/
net/ceph/crypto.h
@@
-16,7
+16,8
@@
struct ceph_crypto_key {
static inline void ceph_crypto_key_destroy(struct ceph_crypto_key *key)
{
- kfree(key->key);
+ if (key)
+ kfree(key->key);
}
extern int ceph_crypto_key_clone(struct ceph_crypto_key *dst,