comparison mpegtsenc.c @ 693:d7109f709265 libavformat

double free patch by (Mns Rullgrd <mru inprovide com>) "This free is handled in av_write_trailer() since Oct 1 2004, but apparently mpegts was missed at the time."
author michael
date Wed, 09 Mar 2005 02:12:44 +0000
parents 60f897e8dd2d
children e277d8928f49
comparison
equal deleted inserted replaced
692:b0144ebc71dd 693:d7109f709265
602 av_freep(&service->name); 602 av_freep(&service->name);
603 av_free(service); 603 av_free(service);
604 } 604 }
605 av_free(ts->services); 605 av_free(ts->services);
606 606
607 for(i = 0; i < s->nb_streams; i++) {
608 st = s->streams[i];
609 av_free(st->priv_data);
610 }
611 return 0; 607 return 0;
612 } 608 }
613 609
614 AVOutputFormat mpegts_mux = { 610 AVOutputFormat mpegts_mux = {
615 "mpegts", 611 "mpegts",