restore: fix resource handle leak.

CID:		1007784
MFC after:	5 days
This commit is contained in:
Pedro F. Giffuni 2016-05-01 02:39:39 +00:00
parent 12527d70ac
commit 24229eeb2f

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