From: RĂ©mi Duraffort Date: Mon, 9 Mar 2009 08:38:25 +0000 (+0100) Subject: access_pvr: really fix the potential memleak. X-Git-Tag: 1.0.0-pre1~177 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=d7a871c8cf5f9a3653e292d6878a8c9230cfc272;p=vlc access_pvr: really fix the potential memleak. --- diff --git a/modules/access/pvr.c b/modules/access/pvr.c index 804b0aa70b..70d0127afe 100644 --- a/modules/access/pvr.c +++ b/modules/access/pvr.c @@ -580,6 +580,8 @@ static int Open( vlc_object_t * p_this ) psz_tofree = strdup( p_access->psz_path ); if( !psz_tofree ) { + free( p_sys->psz_radiodev ); + free( p_sys->psz_videodev ); free( p_sys ); return VLC_ENOMEM; }