From c49dd96c13a5201c07a9e4c6bb182f5fba11613c Mon Sep 17 00:00:00 2001 From: Bohdan Kapliuk Date: Tue, 29 Oct 2024 14:02:08 +0200 Subject: [PATCH] cv6 --- cv6/a_station.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cv6/a_station.c b/cv6/a_station.c index 8f659d6..beed172 100644 --- a/cv6/a_station.c +++ b/cv6/a_station.c @@ -10,6 +10,10 @@ struct station* create_station(){ } void destroy_station(struct station* station){ + free(station->tracks); + free(station->track_count); + station->tracks = NULL; + station->track_count = NULL; } int select_track(struct station* station, const char* target){