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:
parent
a92c543fd5
commit
c0d26f5907
|
@ -920,6 +920,12 @@ auth_load_cleanup:
|
||||||
}
|
}
|
||||||
json_object_put(raw_obj);
|
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);
|
return (rc);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue