From c0d573bc7519ddf43c301658c084bbb83a812b27 Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Sun, 14 Apr 2024 04:42:31 +0000 Subject: Sat, Apr 13, 2024, 9:42 PM -07:00 --- wk5/pset/inheritance/inheritance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wk5/pset/inheritance') diff --git a/wk5/pset/inheritance/inheritance.c b/wk5/pset/inheritance/inheritance.c index 6d96d13..172af27 100644 --- a/wk5/pset/inheritance/inheritance.c +++ b/wk5/pset/inheritance/inheritance.c @@ -73,7 +73,7 @@ person *create_family(int generations) } // TODO: Return newly created person - return NULL; + return new; } // Free `p` and all ancestors of `p`. -- cgit v1.2.3