diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2014-01-05 22:54:10 +0100 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2014-01-05 22:57:04 +0100 |
commit | 204668db894f7c26db6c56e94aba33ecd022cdb4 (patch) | |
tree | cd20c62a8287b99b28b140f60e8a8ba2a5b7b6ef /apps/plugins/lib | |
parent | 1e1b21591d931ed66450c2c810e1fce89e5c039f (diff) | |
download | rockbox-204668db894f7c26db6c56e94aba33ecd022cdb4.tar.gz rockbox-204668db894f7c26db6c56e94aba33ecd022cdb4.zip |
Make sure usb class driver disconnect() functions are called properly.
disconnect() needs to be called exactly once per call to init_connection().
In case of bus resets, disconnect() was not called, which led to leaking
alloc_maximum() allocated buflib handles, which led to buflib running out
of memory to allocate.
Change-Id: I03025da578dc54e48b6de6bd3e3f40feae7220a6
Diffstat (limited to 'apps/plugins/lib')
0 files changed, 0 insertions, 0 deletions