projects
/
platform
/
upstream
/
murphy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d0ef3f
)
add pointer Null check in mod_defer callback
85/77885/2
accepted/tizen/common/20160704.145302
accepted/tizen/ivi/20160704.090624
accepted/tizen/mobile/20160704.090533
accepted/tizen/tv/20160704.090512
accepted/tizen/wearable/20160704.090407
submit/tizen/20160704.004002
author
Volodymyr Brynza
<v.brynza@samsung.com>
Fri, 1 Jul 2016 12:41:48 +0000
(15:41 +0300)
committer
Volodymyr Brynza
<v.brynza@samsung.com>
Fri, 1 Jul 2016 12:41:48 +0000
(15:41 +0300)
Change-Id: Ia89beb2dcb88e26da39c3770bc83843ef0e0b926
Signed-off-by: Volodymyr Brynza <v.brynza@samsung.com>
src/common/glib-glue.c
patch
|
blob
|
history
diff --git
a/src/common/glib-glue.c
b/src/common/glib-glue.c
index 247744dc2161231dd22c690e80db085c1f6c46cb..1678b96e3c1c8f68ce84d41761f23de6ef158fed 100644
(file)
--- a/
src/common/glib-glue.c
+++ b/
src/common/glib-glue.c
@@
-296,6
+296,9
@@
static void mod_defer(void *glue_data, void *id, int enabled)
MRP_UNUSED(glue_data);
+ if (d == NULL)
+ return;
+
if (enabled && !d->gl_t)
d->gl_t = g_timeout_add(0, defer_cb, d);
else if (!enabled && d->gl_t) {