From 43277c81ac48702b88a86cc0182b9f34518abf24 Mon Sep 17 00:00:00 2001 From: Saxon1 Date: Sun, 6 May 2018 00:04:07 +0930 Subject: [PATCH] maybe this will work --- rtmp/RTMPWrapper.c | 1 + 1 file changed, 1 insertion(+) 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; }