diff options
author | Mathias Agopian <mathias@google.com> | 2009-04-14 18:24:09 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2009-04-14 18:24:09 -0700 |
commit | c3ce41d319fdb2b867f5f45783ced0276f723d01 (patch) | |
tree | bcc11c35ee7ad98e60f932d834da4079f37abf7c /modules/gralloc | |
parent | 4f14fe0b73b516c0cc12d8dc6cee5c29cf437e18 (diff) | |
download | hardware_libhardware-c3ce41d319fdb2b867f5f45783ced0276f723d01.zip hardware_libhardware-c3ce41d319fdb2b867f5f45783ced0276f723d01.tar.gz hardware_libhardware-c3ce41d319fdb2b867f5f45783ced0276f723d01.tar.bz2 |
don't automatically unmap buffers when they're freed
this is in preparation to an api change wrt gralloc map/unmap
Diffstat (limited to 'modules/gralloc')
-rw-r--r-- | modules/gralloc/gralloc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gralloc/gralloc.cpp b/modules/gralloc/gralloc.cpp index 67febd8..abb8c96 100644 --- a/modules/gralloc/gralloc.cpp +++ b/modules/gralloc/gralloc.cpp @@ -260,8 +260,8 @@ static int gralloc_free(alloc_device_t* dev, } if (hnd->base) { - LOGW("Freeing mapped handle %p", hnd); - gralloc_unmap((gralloc_module_t*) dev->common.module, handle); + LOGW("handle %p still mapped at %p", hnd, hnd->base); + //gralloc_unmap((gralloc_module_t*) dev->common.module, handle); } close(hnd->fd); |