Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 300 HockeyList::~HockeyList(void)
- 301 {
- 302 ListNode *termination = NULL;
- 303
- 304 for(int i = 0; i < NUMTEAMS; i++) {
- 305
- 306 while(head[i].next != &tail[i]){
- 307 termination = tail[i].prev;
- 308 unlink(termination);
- 309 delete termination;
- 310
- 311 }
- 312 }
- 313 }
- ==18946== HEAP SUMMARY:
- ==18946== in use at exit: 240 bytes in 6 blocks
- ==18946== total heap usage: 230 allocs, 224 frees, 46,199 bytes allocated
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement