I have a struct which you see below:
typedef struct _List { Person *person; // pointer for people list DoList *do; // Kinda timer, for checking list
void free_mystruct(struct_List *a_ptr){ free(a_ptr->person); free(a_ptr->do); free(a_ptr); }
if you used malloc to initially allocate memory.