1
0
Fork 0
forked from len0rd/rockbox

Oops, no need to allocate that much memory. Thanks to Lear for noticing this.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12306 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nicolas Pennequin 2007-02-14 15:22:13 +00:00
parent 32878c0b5a
commit 2a4917c698

View file

@ -44,8 +44,8 @@
void cuesheet_init(void)
{
if (global_settings.cuesheet) {
curr_cue = (struct cuesheet *)buffer_alloc(MAX_TRACKS * sizeof(struct cuesheet));
temp_cue = (struct cuesheet *)buffer_alloc(MAX_TRACKS * sizeof(struct cuesheet));
curr_cue = (struct cuesheet *)buffer_alloc(sizeof(struct cuesheet));
temp_cue = (struct cuesheet *)buffer_alloc(sizeof(struct cuesheet));
} else {
curr_cue = NULL;
temp_cue = NULL;