diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-02-26 11:32:02 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-02-26 11:32:02 +0100 |
commit | 498e984690895987067743bb94ee83d49da7ecb4 (patch) | |
tree | 773ffd98aa3e085d290b60d017c31810d7f641e1 /linked_list.inc.h | |
parent | Start update of types. (diff) | |
download | calp-498e984690895987067743bb94ee83d49da7ecb4.tar.gz calp-498e984690895987067743bb94ee83d49da7ecb4.tar.xz |
Fix memmory errors.
Diffstat (limited to 'linked_list.inc.h')
-rw-r--r-- | linked_list.inc.h | 2 |
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; } |