• Ronald S. Bultje's avatar
    Fix memleak caused by the fact that url_open_buf() allocates a context · a4b8cb3c
    Ronald S. Bultje authored
    when calling, but url_close_buf() doesn't free it. The better solution
    is to not allocate it at all, init it with init_put_byte() and then
    not have to close it at all. In the case where we do need to hold it
    around for longer than within the function context, we allocate it with
    av_alloc_put_byte() and free it with av_free() instead. Discussed in ML
    thread "[PATCH] fix small memleak in rdt.c".
    
    Originally committed as revision 15850 to svn://svn.ffmpeg.org/ffmpeg/trunk
    a4b8cb3c
Name
Last commit
Last update
doc Loading commit data...
ffpresets Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswscale Loading commit data...
tests Loading commit data...
tools Loading commit data...
vhook Loading commit data...
COPYING.GPL Loading commit data...
COPYING.LGPL Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
Doxyfile Loading commit data...
INSTALL Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
cmdutils.c Loading commit data...
cmdutils.h Loading commit data...
common.mak Loading commit data...
configure Loading commit data...
ffmpeg.c Loading commit data...
ffplay.c Loading commit data...
ffserver.c Loading commit data...
ffserver.h Loading commit data...
output_example.c Loading commit data...
subdir.mak Loading commit data...
version.sh Loading commit data...