OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2330-g9cbc3b7
Gerrit Code Review
gerrit@openafs.org
Sun, 8 Apr 2012 18:19:37 -0700 (PDT)
The following commit has been merged in the master branch:
commit 9cbc3b77db818bd65a8ec3c5b804178449c2bb67
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Sat Mar 31 07:01:46 2012 -0400
fs: Fix bad frees
On an error GetLastComponent was freeing completely the wrong thing.
Fix this so it frees the memory it has allocated, and not some random
stack pointer.
Caught by clang-analyzer
Change-Id: I8b65f7ab36647b876fae5cbe59d82fd8d38ce0b7
Reviewed-on: http://gerrit.openafs.org/7093
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/venus/fs.c | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
--
OpenAFS Master Repository