diff options
Diffstat (limited to '')
-rw-r--r-- | linked_list.inc.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/linked_list.inc.h b/linked_list.inc.h index 1522a685..e91cdc9f 100644 --- a/linked_list.inc.h +++ b/linked_list.inc.h @@ -17,15 +17,12 @@ INIT_F ( LLIST(TYPE) ) { FREE_F (LINK(TYPE)) { if (this->before != NULL) this->before->after = NULL; if (this->after != NULL) this->after->before = NULL; - // TODO how much of value do I really wanna free? - // Should I implement some form of shared pointer? if (this->value != NULL) FFREE(TYPE, this->value); return 0; } FREE_F( LLIST(TYPE) ) { - LINK(TYPE) *n, *next; n = this->head; while ( n != NULL ) { |