diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2017-12-09 23:26:05 -0500 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2017-12-09 23:45:53 -0500 |
commit | 6ee3b6feeea0430e153f0c8851c8c52d345b6fbc (patch) | |
tree | b9813f1267599dd440dd939ac6314248eea478dc /apps/plugins/sdl/src/audio | |
parent | 8be40746b81c4fde8f990c13f1359ebbc88d048f (diff) | |
download | rockbox-6ee3b6feeea0430e153f0c8851c8c52d345b6fbc.tar.gz rockbox-6ee3b6feeea0430e153f0c8851c8c52d345b6fbc.zip |
buffering.c: Fix oopses with caching handle pointer
The location of the handle cannot be kept across calls to
shrink_handle() since it may move the structure. The error was
there in one place at the inception, corrected, then reintroduced.
Make shrink_handle() return the new location and use it, which
makes the side effects of the function clearer.
Change-Id: Icae6a0ad6f7bb0d6645b044cccfa4aef88db42ad
Diffstat (limited to 'apps/plugins/sdl/src/audio')
0 files changed, 0 insertions, 0 deletions