ffserver: free nacl as needed

Should fix FFmpeg Coverity Scan issue #732268
Signed-off-by: 's avatarReynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
parent b2682db3
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment