This commit is contained in:
Bohdan Kapliuk 2024-10-29 14:02:08 +02:00
parent 4fefb76b5e
commit c49dd96c13

View File

@ -10,6 +10,10 @@ struct station* create_station(){
} }
void destroy_station(struct station* 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){ int select_track(struct station* station, const char* target){