projects
/
apps
/
home
/
message-app.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
360deb7
)
Fix a crash problem.
author
Jaeyun Jeong
<jyjeong@samsung.com>
Fri, 7 Sep 2012 06:01:54 +0000
(15:01 +0900)
committer
Jaeyun Jeong
<jyjeong@samsung.com>
Fri, 7 Sep 2012 06:01:54 +0000
(15:01 +0900)
Change-Id: Ic4835052680dc8b051afeae9180ccc586880e198
main/message.c
patch
|
blob
|
history
diff --git
a/main/message.c
b/main/message.c
index
9846eec
..
b8802d7
100755
(executable)
--- a/
main/message.c
+++ b/
main/message.c
@@
-861,6
+861,7
@@
static void app_service(service_h service, void *data)
if (g_strcmp0(cvalue, "Emulator") == 0) {
D_MSG("Not support in Emulator !!");
g_free(cvalue);
+ cvalue = NULL;
service_h reply;
@@
-874,11
+875,14
@@
static void app_service(service_h service, void *data)
/* Exit application because it is not supported in Emulator. */
elm_exit();
+ return;
}
}
- if (cvalue)
+ if (cvalue)
{
g_free(cvalue);
+ cvalue = NULL;
+ }
ug_resume();