nfs_write_async: plug potential memory leaks
authorArne Redlich <arne.redlich@googlemail.com>
Tue, 18 Feb 2014 19:51:36 +0000 (20:51 +0100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 20 Feb 2014 03:00:19 +0000 (19:00 -0800)
commit63d4a0583d83c3b335d411c64911905faa35b97f
tree9407cb958c0a96056d9a0e607646f0dccff1961b
parent60af7e19d13145b1f78ef8bdc014c5772966e8e9
nfs_write_async: plug potential memory leaks

Spotted by clang analyzer.

This also introduces asserts to help clang analyzer avoid
reporting false positives.

Signed-off-by: Arne Redlich <arne.redlich@googlemail.com>
lib/libnfs.c