OSDN Git Service
(root)
/
android-x86
/
external-drm_hwcomposer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm_hwcomposer: fix crash in hwc_set()
[android-x86/external-drm_hwcomposer.git]
/
nvimporter.cpp
diff --git
a/nvimporter.cpp
b/nvimporter.cpp
index
93b9129
..
de3ed55
100644
(file)
--- a/
nvimporter.cpp
+++ b/
nvimporter.cpp
@@
-121,7
+121,7
@@
int NvImporter::ImportBuffer(buffer_handle_t handle, hwc_drm_bo_t *bo) {
return 0;
}
-int NvImporter::ReleaseBuffer(hwc_drm_bo_t *
bo) {
+int NvImporter::ReleaseBuffer(hwc_drm_bo_t *bo) {
NvBuffer_t *buf = (NvBuffer_t *)bo->priv;
if (!buf) {
ALOGE("Freeing bo %ld, buf is NULL!", bo->fb_id);