OSDN Git Service
(root)
/
android-x86
/
external-gbm_gralloc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
137cc39
)
replace delete with free
author
Elliott Wen
<jq.elliott.wen@gmail.com>
Tue, 3 Jul 2018 04:38:39 +0000
(16:38 +1200)
committer
Rob Herring
<robherring2@gmail.com>
Mon, 22 Apr 2019 13:43:11 +0000
(08:43 -0500)
gralloc.cpp
patch
|
blob
|
history
diff --git
a/gralloc.cpp
b/gralloc.cpp
index
2753ee9
..
b9765de
100644
(file)
--- a/
gralloc.cpp
+++ b/
gralloc.cpp
@@
-156,7
+156,8
@@
static int gbm_mod_close_gpu0(struct hw_device_t *dev)
struct alloc_device_t *alloc = (struct alloc_device_t *) dev;
gbm_dev_destroy(dmod->gbm);
- delete alloc;
+ native_handle_delete((native_handle*)handle);
+ //delete alloc;
return 0;
}