Skip to content

Commit

Permalink
imd: fix crash when loading new discs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Fosdick committed Feb 25, 2024
1 parent e897872 commit f33d280
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/imd.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ static void imd_free(struct imd_file *imd)
free(trk);
trk = trk_next;
}
imd->track_head = NULL;
imd->track_tail = NULL;
}

/*
Expand Down

0 comments on commit f33d280

Please sign in to comment.