diff options
Diffstat (limited to 'wk5')
-rw-r--r-- | wk5/pset/inheritance/inheritance.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/wk5/pset/inheritance/inheritance.c b/wk5/pset/inheritance/inheritance.c index 87bbd01..6edb985 100644 --- a/wk5/pset/inheritance/inheritance.c +++ b/wk5/pset/inheritance/inheritance.c @@ -84,7 +84,6 @@ void free_family(person *p) { free(*p); } - else // TODO: Free parents recursively if (p->parent[0] != NULL) @@ -92,7 +91,6 @@ void free_family(person *p) free_family(p->parent[0]); free_family(p->parent[1]); } - else // TODO: Free child free(*p); |