Browse Source

af_join: do not leak input frames.

tags/n2.0
Anton Khirnov 12 years ago
parent
commit
4750b05d67
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavfilter/af_join.c

+ 2
- 1
libavfilter/af_join.c View File

@@ -487,7 +487,8 @@ static int join_request_frame(AVFilterLink *outlink)

ret = ff_filter_frame(outlink, frame);

memset(s->input_frames, 0, sizeof(*s->input_frames) * ctx->nb_inputs);
for (i = 0; i < ctx->nb_inputs; i++)
av_frame_free(&s->input_frames[i]);

return ret;



Loading…
Cancel
Save