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); } }