[RTEMS Project] #4212: libio leaks location clones
RTEMS trac
trac at rtems.org
Fri Jan 8 05:28:40 UTC 2021
#4212: libio leaks location clones
-------------------------+---------------------
Reporter: Chris Johns | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone: 6.1
Component: fs | Version: 6
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: |
-------------------------+---------------------
Comment (by Sebastian Huber):
I am not sure if we have an unintentional resource leak in open() with the
current file systems. I would be good to have a test case. The purpose of
open() is to create a location for a file which is released to the system
through a call to close(). If errors happen during the path evaluation,
the rtems_filesystem_eval_path_error() should be called which uses
rtems_filesystem_location_detach() if necessary.
--
Ticket URL: <http://devel.rtems.org/ticket/4212#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list