|
@@ -1149,7 +1149,7 @@ decrypt_pki_encrypted_session_key(struct ecryptfs_auth_tok *auth_tok,
|
|
struct ecryptfs_msg_ctx *msg_ctx;
|
|
struct ecryptfs_msg_ctx *msg_ctx;
|
|
struct ecryptfs_message *msg = NULL;
|
|
struct ecryptfs_message *msg = NULL;
|
|
char *auth_tok_sig;
|
|
char *auth_tok_sig;
|
|
- char *payload;
|
|
|
|
|
|
+ char *payload = NULL;
|
|
size_t payload_len = 0;
|
|
size_t payload_len = 0;
|
|
int rc;
|
|
int rc;
|
|
|
|
|
|
@@ -1203,6 +1203,7 @@ decrypt_pki_encrypted_session_key(struct ecryptfs_auth_tok *auth_tok,
|
|
}
|
|
}
|
|
out:
|
|
out:
|
|
kfree(msg);
|
|
kfree(msg);
|
|
|
|
+ kfree(payload);
|
|
return rc;
|
|
return rc;
|
|
}
|
|
}
|
|
|
|
|