• 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

Revision4a94ab2ef43bbbd0abe636b5988119ebe933e846 (tree)
Time2019-04-22 22:43:11
AuthorElliott Wen <jq.elliott.wen@gmai...>
CommiterRob Herring

Log Message

replace delete with free

Change Summary

Incremental Difference

--- a/gralloc.cpp
+++ b/gralloc.cpp
@@ -156,7 +156,8 @@ 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- delete alloc;
159+ native_handle_delete((native_handle*)handle);
160+ //delete alloc;
160161
161162 return 0;
162163 }