diff options
-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(); |