summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/base/systeminfo.cpp
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2011-10-28 16:38:52 +0000
committerThomas Martitz <kugel@rockbox.org>2011-10-28 16:38:52 +0000
commit98861268580e4dfe1fe4521b64b23b3e36c836b3 (patch)
treede373388b7dda7eeeea521429da7d41182a0432e /rbutil/rbutilqt/base/systeminfo.cpp
parentf5d664ad934d74b8444c2432c3c37c0571fa8e4a (diff)
downloadrockbox-98861268580e4dfe1fe4521b64b23b3e36c836b3.tar.gz
rockbox-98861268580e4dfe1fe4521b64b23b3e36c836b3.zip
Fix FS#12325 - screen corruption on early usb.
When booting with USB inserted, the dircache build can get interrupted by the usb connection, in which case the dircache buffer is freed. Due to a bug the re-creation of dircache used the old freed buffer and overwrite new allocs (causing screen corruption). Set allocated_size to 0 to make it not take the code path that assumes an existing buffer, and bring that and freeing together in the code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30845 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/base/systeminfo.cpp')
0 files changed, 0 insertions, 0 deletions