The map ADT should not free the object if its addition to the map failed
|Reported by:||Jakub Jermář||Owned by:||Petr Koupy|
|Blocker for:||Depends on:|
The map ADTs (e.g. the generic char map) will free up the memory for an object which it failed to insert (e.g. it was already there or it ran out of memory during the add operation).
In fact, the map ADTs should never free the memory occupied by the mapped object. The current networking code may rely on this behavior, but this should rather be changed.
Change History (6)
comment:3 by , 13 years ago
|Status:||new → assigned|