Revision 24de0edb libavfilter/graphparser.c

View differences:

libavfilter/graphparser.c
118 118
    }
119 119

  
120 120
    if ((ret = avfilter_graph_add_filter(ctx, *filt_ctx)) < 0) {
121
        avfilter_destroy(*filt_ctx);
121
        avfilter_free(*filt_ctx);
122 122
        return ret;
123 123
    }
124 124

  

Also available in: Unified diff