Commit 88214271 authored by Rémi Duraffort's avatar Rémi Duraffort

free(NULL) is legal.

parent 76cc8f72
......@@ -280,9 +280,7 @@ void ACL_Destroy( vlc_acl_t *p_acl )
{
if( p_acl != NULL )
{
if( p_acl->p_entries != NULL )
free( p_acl->p_entries );
free( p_acl->p_entries );
vlc_object_release( p_acl->p_owner );
free( p_acl );
}
......
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