#1717 closed defect (fixed)

gxx_wrappers - memory leak on key create when error

Reported by: Joel Sherrill Owned by: Joel Sherrill
Priority: normal Milestone: 4.11
Component: score Version: 4.11
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

If the rtems_task_variable_add() call does not succeed, then the memory malloc'ed a few lines before is not freed.

Attachments (2)

pr1717.diff (563 bytes) - added by Joel Sherrill on 11/16/10 at 17:48:32.
Fix for head
pr1717-pre411.diff (672 bytes) - added by Joel Sherrill on 11/16/10 at 17:53:18.
Patch for 4.10 and older

Download all attachments as: .zip

Change History (4)

Changed on 11/16/10 at 17:48:32 by Joel Sherrill

Attachment: pr1717.diff added

Fix for head

Changed on 11/16/10 at 17:53:18 by Joel Sherrill

Attachment: pr1717-pre411.diff added

Patch for 4.10 and older

comment:1 Changed on 11/16/10 at 17:58:01 by Joel Sherrill

Resolution: fixed
Status: newclosed

Patches applied to all applicable branches.

comment:2 Changed on 11/24/14 at 18:58:28 by Gedare Bloom

Version: HEAD4.11

Replace Version=HEAD with Version=4.11 for the tickets with Milestone >= 4.11

Note: See TracTickets for help on using tickets.