Skip to content

Commit

Permalink
Add missing ioReadClose().
Browse files Browse the repository at this point in the history
This probably wouldn't be a big issue since the close would happen when the IoRead object was destroyed, but better to be safe.
  • Loading branch information
cmwshang authored and dwsteele committed Jun 3, 2020
1 parent 9efbafc commit 38bf3d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common/ini.c
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,8 @@ iniLoad(
MEM_CONTEXT_TEMP_RESET(1000);
}
while (!ioReadEof(read));

ioReadClose(read);
}
MEM_CONTEXT_TEMP_END();
}
Expand Down

0 comments on commit 38bf3d5

Please sign in to comment.