Changeset c4d1f12 for buddy.c


Ignore:
Timestamp:
Mar 1, 2010, 8:33:50 PM (11 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
release-1.5
Children:
050d25e
Parents:
5e8bec6
git-author:
Anders Kaseorg <andersk@mit.edu> (02/28/10 02:39:52)
git-committer:
Nelson Elhage <nelhage@mit.edu> (03/01/10 20:33:50)
Message:
Add owl_buddy_delete to fix leaks.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Alejandro R. Sedeño <asedeno@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • buddy.c

    r476faed rc4d1f12  
    6868  if (b->name) owl_free(b->name);
    6969}
     70
     71void owl_buddy_delete(owl_buddy *b)
     72{
     73  owl_buddy_free(b);
     74  owl_free(b);
     75}
Note: See TracChangeset for help on using the changeset viewer.