nfs_pread_async: plug potential memleaks
authorArne Redlich <arne.redlich@googlemail.com>
Tue, 18 Feb 2014 19:56:24 +0000 (20:56 +0100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 20 Feb 2014 03:00:47 +0000 (19:00 -0800)
commitc8f0bac1bbe9b0e70607979d51b74e59304fcc41
tree5988cf58a53a1bf1d330fb45f777fd5450307e39
parent63d4a0583d83c3b335d411c64911905faa35b97f
nfs_pread_async: plug potential memleaks

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