restore: fix resource handle leak.
CID: 1007784 MFC after: 5 days
This commit is contained in:
parent
910598cf7d
commit
899dc2f69f
@ -559,6 +559,7 @@ initsymtable(char *filename)
|
||||
fprintf(stderr, "read: %s\n", strerror(errno));
|
||||
panic("cannot read symbol table file %s\n", filename);
|
||||
}
|
||||
(void)close(fd);
|
||||
switch (command) {
|
||||
case 'r':
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user