Closed Bug 634785 Opened 13 years ago Closed 13 years ago

T ListImpl<T,ListHelper>::removeAt() should update ref count of object that is being removed

Categories

(Tamarin Graveyard :: Virtual Machine, defect, P3)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rulohani, Unassigned)

Details

Attachments

(1 file)

T ListImpl<T,ListHelper>::removeAt(uint32_t index) calls moveRange() to remove object in case the index was not the last element index and calls clearRange() in case the index is the last index. moveRange does not update ref count. removeAt should call clearRange before calling moveRange to update the refcount of the object that is getting removed.
Attachment #512977 - Flags: review?
Attachment #512977 - Flags: review? → review?(stejohns)
Attachment #512977 - Flags: review?(stejohns) → review+
TR 5940:014190009320
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: