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
parent
548e2bea4b
commit
76ead54bd3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue