]> git.sesse.net Git - vlc/blobdiff - modules/access/vcdx/access.c
vcdx: fix potential memleak.
[vlc] / modules / access / vcdx / access.c
index 1274c728719c92af46f4747395cc7b645f77abf1..15d02e8cf34e6aadff59fadf97b14ee4cf0197da 100644 (file)
@@ -980,6 +980,7 @@ VCDOpen ( vlc_object_t *p_this )
  err_exit:
     if( p_vcdplayer->p_input ) vlc_object_release( p_vcdplayer->p_input );
     free( psz_source );
+    free( p_vcdplayer->psz_source );
     free( p_vcdplayer );
     return VLC_EGENERIC;
 }