Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitb5f03dc

Browse files
committed
Remove redundant allocation
Author: Nikita Glukhov <n.gluhov@postgrespro.ru>
1 parent9cd92d1 commitb5f03dc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

‎contrib/jsonb_plpython/jsonb_plpython.c

Lines 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
elseif (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)

[8]ページ先頭

©2009-2025 Movatter.jp