summaryrefslogtreecommitdiff
path: root/libs/hwui/Program.cpp
diff options
context:
space:
mode:
author Henrik Baard <henrik.baard@sonymobile.com> 2013-07-09 15:14:23 +0200
committer Johan Redestig <johan.redestig@sonymobile.com> 2014-01-13 18:06:05 +0100
commit9bd36ef2f71f54ca4fdfb5fc6c67b38f0db00398 (patch)
tree272c7c84cfbcd38e2dc80c9644b1a494ce76fb0c /libs/hwui/Program.cpp
parent868173a53f0d1059408b049f30af3402d5b0de64 (diff)
Structure device not freed in error case
In case of an error in the call usb_device_get_fd() the memory created by usb_open_device() is never freed. Added a call to usb_device_close in case of error to release the allocated memory. Change-Id: Iaa83674f000242d80604dd30c782236f7afd90c2
Diffstat (limited to 'libs/hwui/Program.cpp')
0 files changed, 0 insertions, 0 deletions