Revert "No json_object_put() for the json_obj created by json_object_object_get_ex()."

This reverts commit a92c543fd5.

Change-Id: I972e083ac91bd1ecd13b900b417685eda5a4add0
This commit is contained in:
Eric MacDonald 2018-12-06 20:40:19 +00:00
parent a92c543fd5
commit c0d26f5907
1 changed files with 6 additions and 0 deletions

View File

@ -920,6 +920,12 @@ auth_load_cleanup:
}
json_object_put(raw_obj);
}
if (token_obj) json_object_put(token_obj);
if (svccat_obj) json_object_put(svccat_obj);
if (tuple_obj) json_object_put(tuple_obj);
if (end_obj) json_object_put(end_obj);
if (url_obj) json_object_put(type_obj);
if (type_obj) json_object_put(type_obj);
return (rc);
}