diff --git a/rtmp/RTMPWrapper.c b/rtmp/RTMPWrapper.c index 8679f04c..1919a8ab 100644 --- a/rtmp/RTMPWrapper.c +++ b/rtmp/RTMPWrapper.c @@ -77,6 +77,7 @@ unsigned int RTMP_write_frame(char* data, uint data_length){ free(dataForC); return 0; } + free(dataForC); return 1; }