fixed memory leaks

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3749 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
beveloper 2003-06-30 00:06:01 +00:00
parent 60e2e68ce4
commit aef8495f7b
2 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,8 @@ public:
~List()
{
MakeEmpty();
free(items);
}
List(const List<value> &other)

View File

@ -18,6 +18,8 @@ public:
~Map()
{
MakeEmpty();
free(items);
}
Map(const Map<key, value> &other)