summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/action_helper.c
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2021-11-14 22:20:09 +0100
committerSolomon Peachy <pizza@shaftnet.org>2021-11-22 08:06:44 -0500
commitf9ce8720c4fa7e5fa53e3aed03653f359fec4125 (patch)
tree939d232140eb2c92e7ea29b05349dd34b097fa8e /apps/plugins/lib/action_helper.c
parent3f966b2aa45755cd7788ea71eeea6a5d64bb827f (diff)
downloadrockbox-f9ce8720c4fa7e5fa53e3aed03653f359fec4125.tar.gz
rockbox-f9ce8720c4fa7e5fa53e3aed03653f359fec4125.zip
Fix: PictureFlow crashes
- After appending albums, when memory had been borrowed from the buflib buffer by shifting memory up using buflib_buffer_out() in create_track_index(), memory was later not shifted down using buflib_buffer_in() (the latter was only called after displaying the track list). - The picture loading thread was able to allocate memory from the buflib pool while the main thread was moving the buffer around. Slide loading will now be paused before shifting operations, and continued afterwards. Change-Id: I1c92b6c931fd14ebb885be4bc275148039b76a9a
Diffstat (limited to 'apps/plugins/lib/action_helper.c')
0 files changed, 0 insertions, 0 deletions