Closed mwelinder closed 7 years ago
Thanks.
Re 2: you are referencing an RTMP_Close() call. That only closes the stream and frees some memory that was allocated as part of the RTMP_Connect and other calls.
Memory that was allocated with RTMP_Alloc() still needs to be freed with a call to RTMP_Free.
https://github.com/jaehyunp/rtmpdump/blob/master/librtmp/rtmp.c#L320 (not an official repository -- just what google gave me)
right you are. funny, kodi has been doing this wrong for many years as i just copied the code from core. will fix, thanks.
On Mon, Mar 13, 2017 at 10:40 PM, mwelinder notifications@github.com wrote:
Thanks.
Re 2: you are referencing an RTMP_Close() call. That only closes the stream and frees some memory that was allocated as part of the RTMP_Connect and other calls.
Memory that was allocated with RTMP_Alloc() still needs to be freed with a call to RTMP_Free.
https://github.com/jaehyunp/rtmpdump/blob/master/librtmp/rtmp.c#L320 (not an official repository -- just what google gave me)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/notspiff/inputstream.rtmp/issues/17#issuecomment-286252532, or mute the thread https://github.com/notifications/unsubscribe-auth/AFktYJ_fYIKB-2hLCcmp0n6ZPW2UjTfBks5rlbfKgaJpZM4Marba .
finally done. thx