We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e8554a commit d3ee451Copy full SHA for d3ee451
src/backend/utils/adt/jsonfuncs.c
@@ -972,6 +972,8 @@ each_worker(PG_FUNCTION_ARGS, bool as_text)
972
973
pg_parse_json(lex, sem);
974
975
+ MemoryContextDelete(state->tmp_cxt);
976
+
977
rsi->setResult = state->tuple_store;
978
rsi->setDesc = state->ret_tdesc;
979
@@ -1154,6 +1156,8 @@ elements_worker(PG_FUNCTION_ARGS, bool as_text)
1154
1156
1155
1157
1158
1159
1160
1161
1162
1163
0 commit comments