diff --git a/ch08-inheritance-and-polymorphism/ExtremeC_examples_chapter8_2_person.c b/ch08-inheritance-and-polymorphism/ExtremeC_examples_chapter8_2_person.c index 4e8b5db..3fa912c 100644 --- a/ch08-inheritance-and-polymorphism/ExtremeC_examples_chapter8_2_person.c +++ b/ch08-inheritance-and-polymorphism/ExtremeC_examples_chapter8_2_person.c @@ -24,7 +24,7 @@ void person_ctor(person_t* person, // Destructor void person_dtor(person_t* person) { - // Nothing to do + free(person); } // Behavior functions