projects
/
platform
/
core
/
appfw
/
aul-1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
683c6a7
)
Initialize src after destroying it
99/145099/1
author
Semun Lee
<semun.lee@samsung.com>
Mon, 21 Aug 2017 08:40:22 +0000
(17:40 +0900)
committer
Semun Lee
<semun.lee@samsung.com>
Mon, 21 Aug 2017 08:40:22 +0000
(17:40 +0900)
Change-Id: Ia71c80385bcc200b167f0e65bb7601a582d4309a
Signed-off-by: Semun Lee <semun.lee@samsung.com>
src/launch_glib.c
patch
|
blob
|
history
diff --git
a/src/launch_glib.c
b/src/launch_glib.c
index
0aad700
..
7d3d603
100644
(file)
--- a/
src/launch_glib.c
+++ b/
src/launch_glib.c
@@
-138,7
+138,11
@@
API int aul_launch_init(
API int aul_launch_fini()
{
- g_source_destroy(src);
+ if (src) {
+ g_source_destroy(src);
+ src = NULL;
+ }
+
return AUL_R_OK;
}