Remove redundant allocation

Author: Nikita Glukhov <n.gluhov@postgrespro.ru>
This commit is contained in:
Peter Eisentraut 2018-10-05 17:10:19 +02:00
parent 9cd92d1a33
commit b5f03dc765
1 changed files with 0 additions and 1 deletions

View File

@ -398,7 +398,6 @@ PLyObject_ToJsonbValue(PyObject *obj, JsonbParseState **jsonb_state, bool is_ele
*/
else if (PyBool_Check(obj))
{
out = palloc(sizeof(JsonbValue));
out->type = jbvBool;
out->val.boolean = (obj == Py_True);
}