Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139221
b: refs/heads/master
c: 00fcf2c
h: refs/heads/master
i:
  139219: 8e9815b
v: v3
  • Loading branch information
Johannes Weiner authored and Linus Torvalds committed Apr 1, 2009
1 parent c6cf3ae commit d62d698
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e2801806de1c9c1d03b7d1bfcb2e01dd4d389e80
refs/heads/master: 00fcf2cb6f6bb421851c3ba062c0a36760ea6e53
3 changes: 1 addition & 2 deletions trunk/fs/ecryptfs/keystore.c
Original file line number Diff line number Diff line change
Expand Up @@ -740,8 +740,7 @@ ecryptfs_write_tag_70_packet(char *dest, size_t *remaining_bytes,
out_release_free_unlock:
crypto_free_hash(s->hash_desc.tfm);
out_free_unlock:
memset(s->block_aligned_filename, 0, s->block_aligned_filename_size);
kfree(s->block_aligned_filename);
kzfree(s->block_aligned_filename);
out_unlock:
mutex_unlock(s->tfm_mutex);
out:
Expand Down
3 changes: 1 addition & 2 deletions trunk/fs/ecryptfs/messaging.c
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,7 @@ int ecryptfs_exorcise_daemon(struct ecryptfs_daemon *daemon)
if (daemon->user_ns)
put_user_ns(daemon->user_ns);
mutex_unlock(&daemon->mux);
memset(daemon, 0, sizeof(*daemon));
kfree(daemon);
kzfree(daemon);
out:
return rc;
}
Expand Down

0 comments on commit d62d698

Please sign in to comment.