diff options
author | Vidyakumar Athota <vathota@codeaurora.org> | 2012-09-10 18:11:46 -0700 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2012-09-24 15:10:04 -0700 |
commit | 855d9cadd88a1394c04cfe1cb5879266cfea9d40 (patch) | |
tree | 5455ad3e5d6d301cdfda26aa4dfa7ca12d089db6 /modules/gralloc/framebuffer.cpp | |
parent | 96a22234baf20cbd5b09e0fe42a8690ff9622883 (diff) | |
download | hardware_libhardware-855d9cadd88a1394c04cfe1cb5879266cfea9d40.zip hardware_libhardware-855d9cadd88a1394c04cfe1cb5879266cfea9d40.tar.gz hardware_libhardware-855d9cadd88a1394c04cfe1cb5879266cfea9d40.tar.bz2 |
libhardware:Fix for memory leak by get_parameters call
- get_parameters call uses strdup which allocate memory for string.
Its caller function responsibility to free the memory which
is not happened now
- Fix: free the memory created by get_parameters call
Change-Id: I15423f451e7bf817a7bcf755c0115d2e53ba7947
CRS-Fixed: 397789
Diffstat (limited to 'modules/gralloc/framebuffer.cpp')
0 files changed, 0 insertions, 0 deletions