[Ffmpeg-devel] Re: [RFC] av_free() vs. av_freep()

QuickTime ffmpeg
Sat Jul 22 14:02:37 CEST 2006


Dear Michael:

>
> Hi
>
> currently we have av_free() which is the equivalent of free() and av_freep()
> which dereferences its argument, calls av_free() and sets it to NULL
>
> maybe we should replace all av_free() by av_freep() and drop av_free()
> entirely? it would make mistakly using freed memory alot more noticable

It's a good idea!
I strongly support this suggestion!

> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> In the past you could go to a library and read, borrow or copy any book
> Today you'd get arrested for mere telling someone where the library is
>

//----------------------------------------
Heaven is not a place, it's just a feeling




More information about the ffmpeg-devel mailing list