Revision c104a6e9

View differences:

libavformat/oggdec.c
247 247
                int n;
248 248

  
249 249
                for (n = 0; n < ogg->nstreams; n++) {
250
                    av_free(ogg->streams[n].buf);
251
                    av_free(ogg->streams[n].private);
250
                    av_freep(&ogg->streams[n].buf);
251
                    av_freep(&ogg->streams[n].private);
252 252
                }
253 253
                ogg->curidx   = -1;
254 254
                ogg->nstreams = 0;

Also available in: Unified diff