Skip to content

Commit

Permalink
a different fix for #960 memory leak on yadif
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Nov 19, 2023
1 parent f1cc330 commit 371d8f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/avformat/producer_avformat.c
Original file line number Diff line number Diff line change
Expand Up @@ -2131,6 +2131,8 @@ static int producer_get_image(mlt_frame frame,
mlt_properties_set_int(frame_properties, "full_range", dst_full_range);
got_picture = 1;
goto exit_get_image;
} else {
mlt_frame_close(original);
}
}
// Cache miss
Expand Down

0 comments on commit 371d8f9

Please sign in to comment.