diff options
-rw-r--r-- | src/reflist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/reflist.c b/src/reflist.c index dc37605b..e73ae2fa 100644 --- a/src/reflist.c +++ b/src/reflist.c @@ -112,6 +112,7 @@ static void recursive_free(Reflection *refl) void reflist_free(RefList *list) { + if ( list == NULL ) return; recursive_free(list->head); free(list); } |