diff options
author | Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com> | 2014-04-26 01:19:16 +0400 |
---|---|---|
committer | Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com> | 2014-04-26 02:49:55 +0400 |
commit | 107f2468c4fca85ef343f2e84f37bf2d4d00227a (patch) | |
tree | 6c960fb03c2893047a189bac85a12510a8413cbf /ffserver.c | |
parent | b2682db34c5401cea737460a8a481a95757bb952 (diff) |
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); } } |