Commit 33b85b43 authored by Christophe Massiot's avatar Christophe Massiot

en50221: fix (small) memory leak

Reported by "debugasm".
parent 82c3fb4e
......@@ -1391,9 +1391,14 @@ static void ConditionalAccessHandle( access_t * p_access, int i_session_id,
*****************************************************************************/
static void ConditionalAccessClose( access_t * p_access, int i_session_id )
{
system_ids_t *p_ids =
(system_ids_t *)p_sessions[i_session_id - 1].p_sys;
msg_Dbg( p_access, "closing ConditionalAccess session (%d)", i_session_id );
if ( p_ids->i_nb_system_ids )
free( p_ids->pi_system_ids );
free( p_sessions[i_session_id - 1].p_sys );
}
......
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