Opened 16 years ago
Closed 16 years ago
Last modified 5 years ago
#8745 closed patch
Fix for memory leaks in File::exists
|Reported by:||jvprat||Owned by:||lordhoto|
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.
Change History (4)
by , 16 years ago
comment:1 by , 16 years ago
|Status:||new → closed|
comment:2 by , 16 years ago
comment:3 by , 5 years ago
Note: See TracTickets for help on using tickets.
Committed, thanks for the patch.