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 /apps | |
| parent | 32878c0b5a0290c8651d35efb00b580a7bcb41fc (diff) | |
| download | rockbox-2a4917c698031b8f899eea7d3941eda9885eea61.zip rockbox-2a4917c698031b8f899eea7d3941eda9885eea61.tar.gz rockbox-2a4917c698031b8f899eea7d3941eda9885eea61.tar.bz2 rockbox-2a4917c698031b8f899eea7d3941eda9885eea61.tar.xz | |
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
Diffstat (limited to 'apps')
| -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 6db3528..a309b95 100644 --- a/apps/cuesheet.c +++ b/apps/cuesheet.c @@ -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; |