fixed memory leaks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3749 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
60e2e68ce4
commit
aef8495f7b
@ -17,6 +17,8 @@ public:
|
||||
|
||||
~List()
|
||||
{
|
||||
MakeEmpty();
|
||||
free(items);
|
||||
}
|
||||
|
||||
List(const List<value> &other)
|
||||
|
@ -18,6 +18,8 @@ public:
|
||||
|
||||
~Map()
|
||||
{
|
||||
MakeEmpty();
|
||||
free(items);
|
||||
}
|
||||
|
||||
Map(const Map<key, value> &other)
|
||||
|
Loading…
Reference in New Issue
Block a user