nfs_rename_continue_1_internal: fix use-after-free
authorArne Redlich <arne.redlich@googlemail.com>
Mon, 17 Feb 2014 23:32:10 +0000 (00:32 +0100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 20 Feb 2014 02:58:02 +0000 (18:58 -0800)
Spotted by clang analyzer.
This introduces another allocation to create a copy of the target path
of a rename in case it needs to be reported via rpc_set_error - it might
be a better idea to avoid the allocation and have a slightly less informative
error message?

Signed-off-by: Arne Redlich <arne.redlich@googlemail.com>

No differences found