restore: fix resource handle leak.

CID:		1007784
MFC after:	5 days
This commit is contained in:
pfg 2016-05-01 02:39:39 +00:00
parent 910598cf7d
commit 899dc2f69f

View File

@ -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':
/*