Commit 943b5ccc authored by ivoire's avatar ivoire
Browse files

Access/cdda: fix memleak

parent d94a5a02
......@@ -518,9 +518,11 @@ static void GetCDDBInfo( access_t *p_access, int i_titles, int *p_sectors )
goto cddb_destroy;
}
char* psz_tmp = config_GetPsz( p_access, "cddb-server" );
cddb_set_email_address( p_cddb, "vlc@videolan.org" );
cddb_set_server_name( p_cddb, config_GetPsz( p_access, "cddb-server" ) );
cddb_set_server_name( p_cddb, psz_tmp );
cddb_set_server_port( p_cddb, config_GetInt( p_access, "cddb-port" ) );
free( psz_tmp );
/// \todo
cddb_cache_disable( p_cddb );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment