]> git.sesse.net Git - vlc/blobdiff - modules/access/cdda.c
modules/access/cdda.c: Fix an input_item memleak.
[vlc] / modules / access / cdda.c
index 6c13a23f5b648aeebcd718be981166b30c5973db..e75899efe8888eb7d39af5e2d22cbdc57fe34e02 100644 (file)
@@ -493,6 +493,7 @@ static int GetTracks( access_t *p_access,
         playlist_BothAddInput( p_playlist, p_input_item, p_item_in_category,
                                PLAYLIST_APPEND, PLAYLIST_END, NULL, NULL,
                                VLC_FALSE );
+        vlc_gc_decref( p_input_item );
         free( psz_uri ); free( psz_opt ); free( psz_name );
         free( psz_first ); free( psz_last );
     }