Menu

#9 suggest improved treatment of back pointer in doubly linked

v1.0_(example)
wont-fix
None
3
2018-05-02
2007-01-15
No

In bc-containers-lists-double.adb, in the procedure Clear(R: in out double_Node_Ref) the code that reads
if Curr /= null then
Curr.Previous := null;
end if;
should be changed to
if Curr /= null and then Curr.Previus = Ptr then
Curr.Previous := null;
end if;
With this change, the removable of unreachable items from memory will have no surprising side effects on other items.

Discussion

  • Chris Henrich

    Chris Henrich - 2007-01-15
    • priority: 5 --> 3
     
  • Simon Wright

    Simon Wright - 2007-01-21
    • assigned_to: nobody --> simonjwright
     
  • Simon Wright

    Simon Wright - 2018-05-02
    • status: open --> wont-fix
    • Group: --> v1.0_(example)
     

Log in to post a comment.

MongoDB Logo MongoDB