Coding idiom fixes 25/73525/1 accepted/tizen/mobile/20160609.034323 accepted/tizen/wearable/20160609.034303 submit/tizen_mobile/20160608.112223 submit/tizen_wearable/20160608.112238
authorManasij Sur Roy <manasij.r@samsung.com>
Wed, 8 Jun 2016 11:08:08 +0000 (16:38 +0530)
committerManasij Sur Roy <manasij.r@samsung.com>
Wed, 8 Jun 2016 11:08:08 +0000 (16:38 +0530)
Change-Id: Idcdc6205dd72287f2bf1058d7dd7952c292a314c
Signed-off-by: Manasij Sur Roy <manasij.r@samsung.com>
src/oauth2_manager.c

index f659087175d0065067e3d752e213d8bfc747e368..e4eb13d1b9fc5647123a429f89507aeeaab15853 100644 (file)
@@ -555,12 +555,12 @@ __parse_acc_token_response(const char *response_json,
        OAUTH2_LOG_I("__parse_acc_token_response parse finished");
 
        *response = response_temp;
-    response_temp = NULL;
+       response_temp = NULL;
 
 CATCH:
        g_object_unref(parser);
-    if (response_temp != NULL)
-        oauth2_response_destroy((oauth2_response_h)response_temp);
+       if (response_temp != NULL)
+               oauth2_response_destroy((oauth2_response_h)response_temp);
 
        OAUTH2_LOG_I("__parse_acc_token_response end");
 }