[FFmpeg-cvslog] ffserver: free nacl as needed
Reynaldo H. Verdejo Pinochet
git at videolan.org
Sat Apr 26 00:55:25 CEST 2014
ffmpeg | branch: master | Reynaldo H. Verdejo Pinochet <r.verdejo at sisa.samsung.com> | Fri Apr 25 18:19:16 2014 -0300| [107f2468c4fca85ef343f2e84f37bf2d4d00227a] | committer: Reynaldo H. Verdejo Pinochet
ffserver: free nacl as needed
Should fix FFmpeg Coverity Scan issue #732268
Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo at sisa.samsung.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=107f2468c4fca85ef343f2e84f37bf2d4d00227a
---
ffserver.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ffserver.c b/ffserver.c
index 48d8808..ea0ccd8 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -1365,7 +1365,8 @@ static void parse_acl_row(FFStream *stream, FFStream* feed, IPAddressACL *ext_ac
naclp = &(*naclp)->next;
*naclp = nacl;
- }
+ } else
+ av_free(nacl);
}
}
More information about the ffmpeg-cvslog
mailing list