OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3471-g064f7ef
Gerrit Code Review
gerrit@openafs.org
Sun, 24 Feb 2013 11:19:56 -0800 (PST)
The following commit has been merged in the master branch:
commit 064f7ef2e8d8e2a7500ffdfe4d55d3ebc48f8226
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Tue Feb 19 17:22:08 2013 +0000
fs: Free parent_dir later in lsmount and flushmount
If lsmount or flushmount encounter an error, then they may include
the contents of parent_dir in their error message. However, in both
cases, this was freed a couple of lines earlier.
Just move the free() later, so that the contents of this variable
are still available.
Caught by clang-analyzer
Change-Id: Ideba52b7ba98f034baf923194007239a6cf0221f
Reviewed-on: http://gerrit.openafs.org/9193
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/venus/fs.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--
OpenAFS Master Repository