Advertisement
Guest User

Untitled

a guest
Mar 19th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. 300 HockeyList::~HockeyList(void)
  2. 301 {
  3. 302 ListNode *termination = NULL;
  4. 303
  5. 304 for(int i = 0; i < NUMTEAMS; i++) {
  6. 305
  7. 306 while(head[i].next != &tail[i]){
  8. 307 termination = tail[i].prev;
  9. 308 unlink(termination);
  10. 309 delete termination;
  11. 310
  12. 311 }
  13. 312 }
  14. 313 }
  15.  
  16. ==18946== HEAP SUMMARY:
  17. ==18946== in use at exit: 240 bytes in 6 blocks
  18. ==18946== total heap usage: 230 allocs, 224 frees, 46,199 bytes allocated
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement