#8745 closed patch
Fix for memory leaks in File::exists
Reported by: | jvprat | Owned by: | lordhoto |
---|---|---|---|
Priority: | normal | Component: | --Other-- |
Version: | Keywords: | ||
Cc: | Game: |
Description
The File::exists function creates new FilesystemNode objects in order to test their physical existence, but doesn't delete them before returning or creating a new instance. The attached patch changes the FilesystemNode to be local variables, so they're automatically deleted.
Ticket imported from: #1829748. Ticket imported from: patches/850.
Attachments (1)
Change History (4)
by , 17 years ago
Attachment: | file-exists-leak.patch added |
---|
comment:1 by , 17 years ago
Owner: | set to |
---|---|
Status: | new → closed |
comment:2 by , 17 years ago
comment:3 by , 6 years ago
Component: | → --Other-- |
---|
Note:
See TracTickets
for help on using tickets.
Committed, thanks for the patch.