diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/vbackup/vnfs.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cmd/vbackup/vnfs.c b/src/cmd/vbackup/vnfs.c index 047d3373..2776fd69 100644 --- a/src/cmd/vbackup/vnfs.c +++ b/src/cmd/vbackup/vnfs.c @@ -664,10 +664,8 @@ readconfigfile(Config *cp) } c.mtime = dir->mtime; free(dir); - if((b = Bopen(name, OREAD)) == nil){ - free(dir); + if((b = Bopen(name, OREAD)) == nil) return -1; - } /* * Reuse old tree, garbage collecting entries that |