From 5e51ef72473c04b43e9494dca95338ce60f98c65 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Wed, 28 Aug 2013 13:48:49 +0200 Subject: WIP: Fix the Proxy-State issue. --- list.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'list.h') diff --git a/list.h b/list.h index d9c5199..38169c7 100644 --- a/list.h +++ b/list.h @@ -23,6 +23,9 @@ struct list *list_create(); /* frees all memory associated with the list */ void list_destroy(struct list *list); +/* frees memory allocated for the list itself */ +void list_free(struct list *list); + /* appends entry to list; returns 1 if ok, 0 if malloc fails */ int list_push(struct list *list, void *data); -- cgit v1.1