diff options
author | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-02-14 15:22:13 +0000 |
---|---|---|
committer | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-02-14 15:22:13 +0000 |
commit | 2a4917c698031b8f899eea7d3941eda9885eea61 (patch) | |
tree | fddbcf26121e2460227d1bcde98430c6487a9cae | |
parent | 32878c0b5a0290c8651d35efb00b580a7bcb41fc (diff) | |
download | rockbox-2a4917c698031b8f899eea7d3941eda9885eea61.tar.gz rockbox-2a4917c698031b8f899eea7d3941eda9885eea61.zip |
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
-rw-r--r-- | apps/cuesheet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/cuesheet.c b/apps/cuesheet.c index 6db3528cad..a309b95873 100644 --- a/apps/cuesheet.c +++ b/apps/cuesheet.c | |||
@@ -44,8 +44,8 @@ | |||
44 | void cuesheet_init(void) | 44 | void cuesheet_init(void) |
45 | { | 45 | { |
46 | if (global_settings.cuesheet) { | 46 | if (global_settings.cuesheet) { |
47 | curr_cue = (struct cuesheet *)buffer_alloc(MAX_TRACKS * sizeof(struct cuesheet)); | 47 | curr_cue = (struct cuesheet *)buffer_alloc(sizeof(struct cuesheet)); |
48 | temp_cue = (struct cuesheet *)buffer_alloc(MAX_TRACKS * sizeof(struct cuesheet)); | 48 | temp_cue = (struct cuesheet *)buffer_alloc(sizeof(struct cuesheet)); |
49 | } else { | 49 | } else { |
50 | curr_cue = NULL; | 50 | curr_cue = NULL; |
51 | temp_cue = NULL; | 51 | temp_cue = NULL; |