nfs-ls: Fix crash when called with no arguments

When called with no argument we jump to 'finished' label
after which nfs_destroy_url is called with *url having
some garbage stack value.
libnfs-4.0.0-vitalif
Alex Snast 2014-04-19 19:30:43 +03:00
parent 548e2bea4b
commit 76ead54bd3
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ int main(int argc, char *argv[])
uint64_t offset;
struct client client;
struct statvfs stvfs;
struct nfs_url *url;
struct nfs_url *url = NULL;
exports export, tmp;
#ifdef WIN32