projects
/
platform
/
core
/
uifw
/
coregl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a22e06
)
coregl_tracepath_gl: Fix null reference in failure path tracepath_glEGLImageTargetRen...
01/101201/2
author
Hoyub Lee
<hoyub.lee@samsung.com>
Wed, 30 Nov 2016 11:30:58 +0000
(20:30 +0900)
committer
Gwan-gyeong Mun
<kk.moon@samsung.com>
Wed, 30 Nov 2016 11:42:00 +0000
(
03:42
-0800)
Change-Id: If512bacde333daa2c85459ac9e8de8a4f3bf841a
Signed-off-by: Hoyub Lee <hoyub.lee@samsung.com>
src/modules/tracepath/coregl_tracepath_gl.c
patch
|
blob
|
history
diff --git
a/src/modules/tracepath/coregl_tracepath_gl.c
b/src/modules/tracepath/coregl_tracepath_gl.c
index
fe77b38
..
a442c57
100644
(file)
--- a/
src/modules/tracepath/coregl_tracepath_gl.c
+++ b/
src/modules/tracepath/coregl_tracepath_gl.c
@@
-5603,6
+5603,7
@@
finish:
GET_MY_TSTATE(tstate, get_current_thread_state());
AST(tstate != NULL);
+ if (!tstate) return;
if (tstate->ctx != NULL) {
int objidx = _COREGL_INT_INIT_VALUE;
_orig_tracepath_glGetIntegerv(GL_RENDERBUFFER_BINDING, &objidx);