Revision bffad70c

View differences:

libavfilter/defaults.c
126 126
    return ref;
127 127

  
128 128
fail:
129
    if (ref && ref->audio)
129
    if (ref)
130 130
        av_free(ref->audio);
131 131
    av_free(ref);
132 132
    av_free(samples);
libavformat/avidec.c
1354 1354
        }
1355 1355
    }
1356 1356

  
1357
    if (avi->dv_demux)
1358
        av_free(avi->dv_demux);
1357
    av_free(avi->dv_demux);
1359 1358

  
1360 1359
    return 0;
1361 1360
}

Also available in: Unified diff