[rtmpdump] Memory leak in rtmpdump.c

Reijo Tomperi aggro80 at users.sourceforge.net
Tue Jun 21 22:10:42 CEST 2011


Hi,

In rtmpdump.c around line 476 in Download() function there is return 
RD_SUCCESS; which does not free memory from "buffer" which is allocated 
at the start of the function and never used after that.

This is most likely a minor issue, but I thought reporting it anyway as 
it can be fixed with a simple free() call (or by moving allocation where 
memory is actualy used).



-- 
Reijo


More information about the rtmpdump mailing list