This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#9638 - temp_cue is unused and wasting memory
Attached to Project:
Rockbox
Opened by Boris Gjenero (dreamlayers) - Sunday, 14 December 2008, 07:20 GMT+2
Last edited by Bertrik Sikken (bertrik) - Saturday, 31 January 2009, 20:42 GMT+2
Opened by Boris Gjenero (dreamlayers) - Sunday, 14 December 2008, 07:20 GMT+2
Last edited by Bertrik Sikken (bertrik) - Saturday, 31 January 2009, 20:42 GMT+2
|
DetailsIt seems that in the past there was an attempt to load up to two cue sheets into memory, using curr_cue for the current track, and temp_cue for an upcoming track. Currently temp_cue is allocated and never loaded with data, wasting 70k. In gwps-common.c, the current filename is compared with uninitialized memory in temp_cue, which probably doesn't cause problems but seems like a bad idea.
In this patch I've removed code relating to temp_cue. |
This task depends upon
Closed by Bertrik Sikken (bertrik)
Saturday, 31 January 2009, 20:42 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed as svn r19890
Saturday, 31 January 2009, 20:42 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed as svn r19890