diff options
author | Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com> | 2014-04-25 18:19:16 -0300 |
---|---|---|
committer | Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com> | 2014-04-25 19:49:55 -0300 |
commit | 107f2468c4fca85ef343f2e84f37bf2d4d00227a (patch) | |
tree | 6c960fb03c2893047a189bac85a12510a8413cbf /ffserver.c | |
parent | b2682db34c5401cea737460a8a481a95757bb952 (diff) | |
download | ffmpeg-107f2468c4fca85ef343f2e84f37bf2d4d00227a.tar.gz |
ffserver: free nacl as needed
Should fix FFmpeg Coverity Scan issue #732268
Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ffserver.c b/ffserver.c index 48d880831f..ea0ccd8e6a 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); } } |