From a87442f0d5ee3a6d214f18cda1e32cb7c1e04313 Mon Sep 17 00:00:00 2001 From: "joonbum.ko" Date: Wed, 30 Nov 2016 20:58:03 +0900 Subject: [PATCH] coregl_tracepath_egl: Fix null reference in failure path of _dump_context_info. Fix wrong codes related with below commit I5a0527f3ba9b69ae5e324731a3bd77b897eefa36 Change-Id: I8dc84beae920227c41d64a93adfe570b51601c2b Signed-off-by: joonbum.ko --- src/modules/tracepath/coregl_tracepath_egl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/tracepath/coregl_tracepath_egl.c b/src/modules/tracepath/coregl_tracepath_egl.c index b6c4307..98c5f7d 100644 --- a/src/modules/tracepath/coregl_tracepath_egl.c +++ b/src/modules/tracepath/coregl_tracepath_egl.c @@ -71,7 +71,7 @@ _dump_context_info(const char *ment, int force_output) GET_MY_TSTATE(cur_tstate_tm, cur_tstate); AST(cur_tstate_tm != NULL); - if (cur_tstate_tm ! = NULL) + if (cur_tstate_tm == NULL) continue; TRACE(" %c Thread [0x%12x] : Surf ", -- 2.7.4