aboutsummaryrefslogtreecommitdiff
path: root/linked_list.inc.h
diff options
context:
space:
mode:
Diffstat (limited to 'linked_list.inc.h')
-rw-r--r--linked_list.inc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linked_list.inc.h b/linked_list.inc.h
index 499d4509..81974a9c 100644
--- a/linked_list.inc.h
+++ b/linked_list.inc.h
@@ -139,7 +139,7 @@ int EMPTY(LLIST(TYPE)) ( LLIST(TYPE)* llist ) {
LLIST(TYPE)* RESOLVE(LLIST(TYPE)) (LLIST(TYPE)* dest, LLIST(TYPE)* new__) {
if (dest == NULL) return new__;
APPEND(LLIST(TYPE))(dest, new__);
- // TODO free new__?
+ free(new__);
return dest;
}