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

Commit88b0e84

Browse files
committed
Fix memory leak in jsonb_hash_value_ops.
1 parent3dad856 commit88b0e84

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎jsonb_gin_ops.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -868,6 +868,8 @@ gin_compare_jsonb_hash_value(PG_FUNCTION_ARGS)
868868
{
869869
result=compare_gin_key_value(arg1,arg2);
870870
}
871+
PG_FREE_IF_COPY(arg1,0);
872+
PG_FREE_IF_COPY(arg2,1);
871873
PG_RETURN_INT32(result);
872874
}
873875

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp