X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=lib%2Flist.c;fp=lib%2Flist.c;h=3082406fb63d5ae4f86151b0ba9b0d3898cde9a3;hp=bcee38586a032bcc15e739b9bf12e26131dbe6c7;hb=38adc479a44b64afcb220cd757f77ab105cb9bcd;hpb=e250d64300cea2a83059866e7cbabcb33684160e diff --git a/lib/list.c b/lib/list.c index bcee3858..3082406f 100644 --- a/lib/list.c +++ b/lib/list.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: list.c,v 1.1.2.8 2001/01/07 17:08:49 guus Exp $ + $Id: list.c,v 1.1.2.9 2001/02/25 15:34:50 guus Exp $ */ #include "config.h" @@ -60,7 +60,7 @@ void list_free_node(list_t *list, list_node_t *node) if(node->data && list->delete) list->delete(node->data); - free(node->data); + free(node); } /* Insertion and deletion */