Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
emericg committed Sep 21, 2023
1 parent 3ae3051 commit ee30c03
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion minivideo/src/demuxer/avi/avi_convert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,10 @@ void avi_clean(avi_t *avi)
{
if (avi->tracks[i])
{
free(avi->tracks[i]->index_entries);
if (avi->tracks[i]->index_entries)
{
free(avi->tracks[i]->index_entries);
}
free(avi->tracks[i]);
}
}
Expand Down

0 comments on commit ee30c03

Please sign in to comment.