Changeset 80b5c42 for buddy.c


Ignore:
Timestamp:
Mar 1, 2010, 8:15:53 PM (15 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.10, release-1.6, release-1.7, release-1.8, release-1.9
Children:
59077f9
Parents:
516c27e
git-author:
Anders Kaseorg <andersk@mit.edu> (02/28/10 02:39:52)
git-committer:
Anders Kaseorg <andersk@mit.edu> (03/01/10 20:15:53)
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 r80b5c42  
    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.