ffserver: free nacl as needed
Should fix FFmpeg Coverity Scan issue #732268 Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
This commit is contained in:
parent
b2682db34c
commit
107f2468c4
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue