OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3436-g5e859ff
Gerrit Code Review
gerrit@openafs.org
Fri, 22 Feb 2013 13:05:06 -0800 (PST)
The following commit has been merged in the master branch:
commit ba8afdc344a482487008dad325442d71c8bbe526
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Tue Feb 19 17:09:15 2013 +0000
afsio: Don't leak memory on GetVenusFidBy* failure
The GetVenusFid functions all allocate the fid structure immediately
upon entry to the function. When we return with an error, that structure
is never freed.
Update the call sites so that we don't leak this memory.
Caught by clang-analyzer
Change-Id: Iec62316d0fd542e70634f384c8319f90ba6b2649
Reviewed-on: http://gerrit.openafs.org/9187
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
src/venus/afsio.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository