summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiwoong Im <jiwoong.im@samsung.com>2016-06-13 02:41:52 (GMT)
committerJiwoong Im <jiwoong.im@samsung.com>2016-06-13 02:41:52 (GMT)
commit0c2ea19d230c7e1447ce841b916c2eebaa43ed33 (patch)
tree9130e808abec9987b1885d8fd09cf6bc2b6028d4
parentba89860cfd8b79555ae4d5e5e9f8ad41cf11356b (diff)
downloadui-gadget-1-0c2ea19d230c7e1447ce841b916c2eebaa43ed33.zip
ui-gadget-1-0c2ea19d230c7e1447ce841b916c2eebaa43ed33.tar.gz
ui-gadget-1-0c2ea19d230c7e1447ce841b916c2eebaa43ed33.tar.bz2
Change-Id: I28b7afae2dd0aac16f6f5e13f3bf3c58e3885012 Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
-rw-r--r--src/manager.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/manager.c b/src/manager.c
index 0f19b4a..859f360 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -617,7 +617,8 @@ static int ugman_ug_create(void *data)
_DBG("invoke trace create cb(%p)", g_create_cb);
- g_create_cb((char *)ug->name, (char *)ug->module->addr,
+ g_create_cb((char *)ug->name,
+ ug->module ? (char *)ug->module->addr : NULL,
parent ? (char *)parent->name : NULL,
g_create_cb_user_data);
}