Fix misleading indentation
authorJennifer Richards <jennifer@painless-security.com>
Tue, 6 Jun 2017 18:14:38 +0000 (14:14 -0400)
committerJennifer Richards <jennifer@painless-security.com>
Tue, 6 Jun 2017 18:14:38 +0000 (14:14 -0400)
common/tr_config.c

index b451860..4f35358 100644 (file)
@@ -1313,17 +1313,17 @@ static TR_RP_CLIENT *tr_cfg_parse_one_rp_client(TALLOC_CTX *mem_ctx, json_t *jre
   if (realm!=NULL)
     tr_free_name(realm);
 
-    if (*rc==TR_CFG_SUCCESS)
-      talloc_steal(mem_ctx, client);
-    else {
-      talloc_free(client);
-      client=NULL;
-    }
-
-    talloc_free(tmp_ctx);
-    return client;
+  if (*rc==TR_CFG_SUCCESS)
+    talloc_steal(mem_ctx, client);
+  else {
+    talloc_free(client);
+    client=NULL;
   }
 
+  talloc_free(tmp_ctx);
+  return client;
+}
+
   /* Determine whether the realm is an RP realm */
 static int tr_cfg_is_rp_realm(json_t *jrealm)
 {