diff options
author | jiseob.jang <jiseob.jang@samsung.com> | 2016-07-12 17:38:43 +0900 |
---|---|---|
committer | jiseob.jang <jiseob.jang@samsung.com> | 2016-07-12 17:38:43 +0900 |
commit | 97b0d193248777e43b1e72032385b5651869ff9a (patch) | |
tree | e5b658fdc383a3be87bc40dc90d9dd80df992e7d | |
parent | 056d3693a37e6ffe48812cc58862a39373929d05 (diff) | |
download | account-manager-97b0d193248777e43b1e72032385b5651869ff9a.tar.gz account-manager-97b0d193248777e43b1e72032385b5651869ff9a.tar.bz2 account-manager-97b0d193248777e43b1e72032385b5651869ff9a.zip |
fix crash by running ctc.submit/tizen_wearable/20160712.084801submit/tizen_mobile/20160712.084747submit/tizen_common/20160718.184521accepted/tizen/wearable/20160712.091313accepted/tizen/mobile/20160712.091317accepted/tizen/common/20160719.173151
Change-Id: I7a2ce0b8bc6c0efbd3e9e89544df75c746bad3a1
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
-rw-r--r-- | server/src/account-server.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/account-server.c b/server/src/account-server.c index a43c409..9bc9f52 100644 --- a/server/src/account-server.c +++ b/server/src/account-server.c @@ -1054,6 +1054,7 @@ account_manager_handle_account_type_query_label_by_locale(AccountManager *object _INFO("account_manager_handle_account_type_query_label_by_locale start"); lifecycle_method_call_active(); + char *label_name = NULL; guint pid = _get_client_pid(invocation); _INFO("client Id = [%u]", pid); @@ -1082,7 +1083,6 @@ account_manager_handle_account_type_query_label_by_locale(AccountManager *object } _INFO("before _account_type_query_label_by_locale"); - char *label_name = NULL; return_code = _account_type_query_label_by_locale(app_id, locale, &label_name); _INFO("after _account_type_query_label_by_locale=[%d]", return_code); @@ -1230,6 +1230,7 @@ gboolean account_manager_account_get_total_count_from_db(AccountManager *object, _INFO("account_manager_account_get_total_count_from_db start"); lifecycle_method_call_active(); + int count = -1; guint pid = _get_client_pid(invocation); _INFO("client Id = [%u]", pid); @@ -1259,7 +1260,6 @@ gboolean account_manager_account_get_total_count_from_db(AccountManager *object, _INFO("before account_get_total_count_from_db"); - int count = -1; return_code = _account_get_total_count_from_db(include_hidden, &count); _INFO("before account_get_total_count_from_db=[%d], return_code"); @@ -2388,6 +2388,7 @@ gboolean account_manager_handle_account_type_query_by_app_id (AccountManager *ob _INFO("account_manager_handle_account_type_query_by_app_id start"); lifecycle_method_call_active(); + account_type_s* account_type = NULL; GVariant* account_type_variant = NULL; guint pid = _get_client_pid(invocation); @@ -2418,7 +2419,6 @@ gboolean account_manager_handle_account_type_query_by_app_id (AccountManager *ob } _INFO("before _account_type_query_by_app_id"); - account_type_s* account_type = NULL; return_code = _account_type_query_by_app_id (app_id, &account_type); _INFO("after _account_type_query_by_app_id=[%d]", return_code); |