Commit 210795ef authored by Rémi Duraffort's avatar Rémi Duraffort

dvdnav: fix memory leak.

(cherry picked from commit 4d79e227)
Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
parent 93ad17a6
......@@ -418,6 +418,11 @@ static void Close( vlc_object_t *p_this )
}
}
/* Free the array of titles */
for( int i = 0; i < p_sys->i_title; i++ )
vlc_input_title_Delete( p_sys->title[i] );
TAB_CLEAN( p_sys->i_title, p_sys->title );
dvdnav_close( p_sys->dvdnav );
free( 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