Revision 52512d0a

View differences:

libavformat/oggdec.c
245 245
                int n;
246 246

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

Also available in: Unified diff