Skip to content

Commit d86f7df

Browse files
committed
release plans created by plpgsql in passive mode too
1 parent a7585cc commit d86f7df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/check_function.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,8 @@ passive_check_func_beg(PLpgSQL_execstate *estate, PLpgSQL_function *func, void *
429429
plpgsql_check_report_unused_variables(&cstate);
430430
plpgsql_check_report_too_high_volatility(&cstate);
431431
}
432+
433+
release_exprs(cstate.exprs);
432434
}
433435
PG_CATCH();
434436
{

0 commit comments

Comments
 (0)