Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b5f03dc

Browse filesBrowse files
committed
Remove redundant allocation
Author: Nikita Glukhov <n.gluhov@postgrespro.ru>
1 parent 9cd92d1 commit b5f03dc
Copy full SHA for b5f03dc

File tree

Expand file treeCollapse file tree

1 file changed

+0
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-1
lines changed

‎contrib/jsonb_plpython/jsonb_plpython.c

Copy file name to clipboardExpand all lines: contrib/jsonb_plpython/jsonb_plpython.c
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,6 @@ PLyObject_ToJsonbValue(PyObject *obj, JsonbParseState **jsonb_state, bool is_ele
398398
*/
399399
else if (PyBool_Check(obj))
400400
{
401-
out = palloc(sizeof(JsonbValue));
402401
out->type = jbvBool;
403402
out->val.boolean = (obj == Py_True);
404403
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.