[mythtv] r8369 double free problem

Mark Spieth mark at dclabs.com.au
Sat Dec 24 00:19:33 EST 2005


> >
> > greg, your patch to utils.c is not quite correct.
> > looks like extradata is freed by many modules but not set to NULL after
the
> > free so your catchall free can correctly work. I would suggest backing
it
> > out until this is fixed (lots of places). I played an avi to make this
> > happen.
> > cheers
> Interesting.  I'll probably work up a patch that does this only for
> mpeg2 (where I've run into the issue).  I've reverted it for now
> though.
>
I suggest changing all av_free to av_freep calls and then put your catchall
back. that will work best. there is also 1 in libavcodec too.
sorry for getting your name wrong :( need more sleep.
cheers
mark



More information about the mythtv-dev mailing list