]> git.sesse.net Git - vlc/blobdiff - src/playlist/loadsave.c
Fixed a segfault in aout_EnableFilter.
[vlc] / src / playlist / loadsave.c
index 85eda590f0b8d5be34e50131e1f77db60e8bb3f7..64b44b8333de3071136617489e7d7bdebeaa13f8 100644 (file)
@@ -50,10 +50,7 @@ int playlist_Export( playlist_t * p_playlist, const char *psz_filename ,
     /* Prepare the playlist_export_t structure */
     p_export = (playlist_export_t *)malloc( sizeof(playlist_export_t) );
     if( !p_export)
-    {
-        msg_Err( p_playlist, "out of memory" );
         return VLC_ENOMEM;
-    }
     p_export->psz_filename = NULL;
     if ( psz_filename )
         p_export->psz_filename = strdup( psz_filename );