#1402 closed defect (fixed)
possible memory leak in cpukit\libblock\src\ide_part_table.c
Reported by: | Dmitriy | Owned by: | Sebastian Huber |
---|---|---|---|
Priority: | normal | Milestone: | 4.10 |
Component: | lib/block | Version: | unknown |
Severity: | normal | Keywords: | |
Cc: | nbkolchin@… | Blocked By: | |
Blocking: |
Description
possible memory leak in cpukit\libblock\src\ide_part_table.c in rtems_ide_part_table_initialize function on negative branch. Forgot to free disk_desc.
rc = rtems_ide_part_table_get(dev_name, disk_desc);
if (rc != RTEMS_SUCCESSFUL)
{
free(disk_desk); need to add
return rc;
}
Attachments (1)
Change History (5)
comment:1 Changed on 05/17/09 at 20:52:33 by Nickolay Semyonov-Kolchin
Cc: | Nickolay Semyonov-Kolchin added |
---|
Changed on 11/20/09 at 09:07:27 by Sebastian Huber
Attachment: | ide-part-table.patch added |
---|
comment:2 Changed on 11/20/09 at 09:07:27 by Sebastian Huber
Owner: | changed from Joel Sherrill to Sebastian Huber |
---|---|
Status: | new → assigned |
comment:3 Changed on 12/02/09 at 09:25:04 by Sebastian Huber
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed on CVS head.
comment:4 Changed on 10/10/17 at 06:49:52 by Sebastian Huber
Component: | score → lib/block |
---|
Note: See
TracTickets for help on using
tickets.
Bugfix