]> git.sesse.net Git - vlc/commitdiff
input/meta.c: Don't free a char[].
authorPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 22 Aug 2007 16:22:02 +0000 (16:22 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 22 Aug 2007 16:22:02 +0000 (16:22 +0000)
src/input/meta.c

index 84652f05838649e4ed636f38e73a558079f2cbaa..b1135372c196df5ee2ac3a961425baff228d96f0 100644 (file)
@@ -359,7 +359,6 @@ static int __input_FindArtInCache( vlc_object_t *p_obj, input_item_t *p_item )
             snprintf( psz_filepath, MAX_PATH, "%s" DIR_SEP "%s",
                       psz_dirpath, psz_filename );
             input_item_SetArtURL( p_item, psz_filepath );
-            free( psz_filepath );
             free( psz_filename );
             closedir( p_dir );
             return VLC_SUCCESS;