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:
parent
32878c0b5a
commit
2a4917c698
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue