• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqt誰得cocoapythonrubywindowsphpgameguibathyscaphec翻訳omegatframework計画中(planning stage)twitterdombtronvb.nettestarduinodirectxpreviewerゲームエンジン

external/gbm_gralloc


Commit MetaInfo

Revisionbd3fbe8eee2d5376bb16bfb17b0b4b5f72c8f333 (tree)
Time2019-08-11 04:09:21
AuthorRoman Stratiienko <roman.stratiienko@glob...>
CommiterRoman Stratiienko

Log Message

Revert "replace delete with free"

Fixes "handle is undefined" build error.

This reverts commit 4a94ab2ef43bbbd0abe636b5988119ebe933e846.

Change Summary

Incremental Difference

--- a/gralloc.cpp
+++ b/gralloc.cpp
@@ -156,8 +156,7 @@ static int gbm_mod_close_gpu0(struct hw_device_t *dev)
156156 struct alloc_device_t *alloc = (struct alloc_device_t *) dev;
157157
158158 gbm_dev_destroy(dmod->gbm);
159- native_handle_delete((native_handle*)handle);
160- //delete alloc;
159+ delete alloc;
161160
162161 return 0;
163162 }