[DVDnav-discuss] [PATCH] libdvdread/src/dvd_udf.c: Free `cached_dir_base` to fix memory leak

Dominik 'Rathann' Mierzejewski dominik at greysector.net
Tue Nov 19 00:43:58 CET 2013


On Monday, 18 November 2013 at 17:08, Paul Menzel wrote:
> The memory is allocated in
> 
> 	if((cached_dir_base = malloc(dir_lba * DVD_VIDEO_LB_LEN + 2048)) == NULL)
> 
> and has to be freed before returning from the function.

Applied, thanks.

Regards,
Dominik
-- 
Fedora http://fedoraproject.org/wiki/User:Rathann
RPMFusion http://rpmfusion.org | MPlayer http://mplayerhq.hu
"Faith manages."
        -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"


More information about the DVDnav-discuss mailing list