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:
fd08e30
)
coregl_tracepath_gl: Fix null reference in failure path of tracepath_glEGLImageTarget...
93/101193/2
author
Hoyub Lee
<hoyub.lee@samsung.com>
Wed, 30 Nov 2016 11:17:40 +0000
(20:17 +0900)
committer
Hoyub Lee
<hoyub.lee@samsung.com>
Wed, 30 Nov 2016 11:19:32 +0000
(
03:19
-0800)
Change-Id: I644f51ef2a485bc4b5a61c7014f0fcfb7acf170b
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
5f27294
..
fe77b38
100644
(file)
--- a/
src/modules/tracepath/coregl_tracepath_gl.c
+++ b/
src/modules/tracepath/coregl_tracepath_gl.c
@@
-5574,6
+5574,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_TEXTURE_BINDING_2D, &objidx);