diff options
author | Jaeyun Jeong <jyjeong@samsung.com> | 2012-09-07 15:01:54 +0900 |
---|---|---|
committer | Jaeyun Jeong <jyjeong@samsung.com> | 2012-09-07 15:01:54 +0900 |
commit | 502a1d2896c97f71b1cac48e42f0fa91e1d80516 (patch) | |
tree | c9a14bb0d64dba70bfa8b7a00e9ff675bd334b8a | |
parent | 360deb71c5b596c71ba2b261ac0e3acef38737e6 (diff) | |
download | message-app-502a1d2896c97f71b1cac48e42f0fa91e1d80516.tar.gz message-app-502a1d2896c97f71b1cac48e42f0fa91e1d80516.tar.bz2 message-app-502a1d2896c97f71b1cac48e42f0fa91e1d80516.zip |
Fix a crash problem.
Change-Id: Ic4835052680dc8b051afeae9180ccc586880e198
-rwxr-xr-x | main/message.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/main/message.c b/main/message.c index 9846eec..b8802d7 100755 --- 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(); |