[MPlayer-cvslog] r18879 - in trunk: cfg-common.h libmpdemux/librtsp/rtsp_rtp.c

Benjamin Zores ben at geexbox.org
Sat Jul 1 19:05:25 CEST 2006


On Sat, 1 Jul 2006 18:00:57 +0300
İsmail Dönmez <ismail at pardus.org.tr> wrote:

> Hi,
> Cumartesi 1 Temmuz 2006 17:18 tarihinde, ben şunları yazmıştı: 
> [...]
> >    /* now check network settings as determined by server */
> > -  destination = parse_destination (answer);
> > +  if (rtsp_destination)
> > +    destination = strdup (rtsp_destination);
> > +  else
> > +    destination = parse_destination (answer);
> >    if (!destination)
> >      destination = strdup (server_addr);
> >    free (server_addr);
> 
> destination doesn't seem to be freed anywhere or am I missing something?

why does everyone ask me the same question ?
it's freed if step 12 bails (l.679) out or naturally free at end of step 13 (l.688)

Ben


-- 
"My life, and by extension everyone else's is meaningless."
Bender, Futurama



More information about the MPlayer-cvslog mailing list